VxIntExtension extension

Extension method for integers.

on

Properties

days Duration
Returns Duration of this in days.
no setter
hours Duration
Returns Duration of this in hours.
no setter
microseconds Duration
Returns Duration of this in microseconds.
no setter
milliseconds Duration
Returns Duration of this in milliseconds.
no setter
minutes Duration
Returns Duration of this in minutes.
no setter
range Iterable<int>
Returns an iterable from 0 up to but not including this. Example:
no setter
seconds Duration
Returns Duration of this in seconds.
no setter

Methods

to(int end, {int by = 1}) Iterable<int>
Returns an iterable from this inclusive to end exclusive.