hours property
int
get
hours
The number of hours in the duration (0-23).
Implementation
int get hours =>
(totalMicroseconds.abs() ~/ Duration.microsecondsPerHour) % 24;
The number of hours in the duration (0-23).
int get hours =>
(totalMicroseconds.abs() ~/ Duration.microsecondsPerHour) % 24;