Duration Class
Static Methods
ofDays(days: Long)
ofDays(days: Long)var daysDuration = Duration.ofDays(5);
ofHours(hours: Long)
ofHours(hours: Long)var hoursDuration = Duration.ofHours(12);
ofMinutes(minutes: Long)
ofMinutes(minutes: Long)var minutesDuration = Duration.ofMinutes(30);
ofSeconds(seconds: Long)
ofSeconds(seconds: Long)var secondsDuration = Duration.ofSeconds(120);
ofMillis(millis: Long)
ofMillis(millis: Long)ofNanos(nanos: Long)
ofNanos(nanos: Long)parse(text: String)
parse(text: String)Conversion Methods
toString()
toString()toDays()
toDays()toHours()
toHours()toMinutes()
toMinutes()toSeconds()
toSeconds()toMillis()
toMillis()toNanos()
toNanos()between(startInclusive: any, endExclusive: any)
between(startInclusive: any, endExclusive: any)