IntBasics extension
Utility extension methods for the native int class.
- on
Properties
- days → Duration
-
Available on int, provided by the IntBasics extension
Returns Duration ofthis
in days.no setter - hours → Duration
-
Available on int, provided by the IntBasics extension
Returns Duration ofthis
in hours.no setter - microseconds → Duration
-
Available on int, provided by the IntBasics extension
Returns Duration ofthis
in microseconds.no setter - milliseconds → Duration
-
Available on int, provided by the IntBasics extension
Returns Duration ofthis
in milliseconds.no setter - minutes → Duration
-
Available on int, provided by the IntBasics extension
Returns Duration ofthis
in minutes.no setter -
range
→ Iterable<
int> -
Available on int, provided by the IntBasics extension
Returns an iterable from0
up to but not includingthis
.no setter - seconds → Duration
-
Available on int, provided by the IntBasics extension
Returns Duration ofthis
in seconds.no setter