from static method
Converts the given duration into microseconds.
Implementation
static int from(int hour, [int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0]) =>
hour * Hour.microseconds + minute * Minute.microseconds + second * Second.microseconds +
millisecond * Millisecond.microseconds + microsecond;