VxIntExtension extension

Extension method for integers.

on

Properties

days Duration

Available on int, provided by the VxIntExtension extension

Returns Duration of this in days.
no setter
hours Duration

Available on int, provided by the VxIntExtension extension

Returns Duration of this in hours.
no setter
microseconds Duration

Available on int, provided by the VxIntExtension extension

Returns Duration of this in microseconds.
no setter
milliseconds Duration

Available on int, provided by the VxIntExtension extension

Returns Duration of this in milliseconds.
no setter
minutes Duration

Available on int, provided by the VxIntExtension extension

Returns Duration of this in minutes.
no setter
range Iterable<int>

Available on int, provided by the VxIntExtension extension

Returns an iterable from 0 up to but not including this. Example:
no setter
seconds Duration

Available on int, provided by the VxIntExtension extension

Returns Duration of this in seconds.
no setter

Methods

to(int end, {int by = 1}) Iterable<int>

Available on int, provided by the VxIntExtension extension

Returns an iterable from this inclusive to end exclusive.