DurationExt extension
Extension containing duration utility methods for int.
- on
Properties
- days → Duration
-
Converts the integer to a Duration representing the given number of days.
no setter
- hours → Duration
-
Converts the integer to a Duration representing the given number of hours.
no setter
- microseconds → Duration
-
Converts the integer to a Duration representing the given number of microseconds.
no setter
- milliseconds → Duration
-
Converts the integer to a Duration representing the given number of milliseconds.
no setter
- minutes → Duration
-
Converts the integer to a Duration representing the given number of minutes.
no setter
- ms → Duration
-
Alias for milliseconds.
no setter
- seconds → Duration
-
Converts the integer to a Duration representing the given number of seconds.
no setter