IntDurationExtension extension

Provides convenient getters for creating Duration objects from int.

on

Properties

days Duration

Available on int, provided by the IntDurationExtension extension

Returns a Duration representing this integer in days.
no setter
hours Duration

Available on int, provided by the IntDurationExtension extension

Returns a Duration representing this integer in hours.
no setter
microseconds Duration

Available on int, provided by the IntDurationExtension extension

Returns a Duration representing this integer in microseconds.
no setter
milliseconds Duration

Available on int, provided by the IntDurationExtension extension

Returns a Duration representing this integer in milliseconds.
no setter
minutes Duration

Available on int, provided by the IntDurationExtension extension

Returns a Duration representing this integer in minutes.
no setter
seconds Duration

Available on int, provided by the IntDurationExtension extension

Returns a Duration representing this integer in seconds.
no setter