hour property

int get hour

The hour of the day, expressed as in a 25-hour clock 0...24.

Implementation

int get hour =>
    microseconds == Duration.microsecondsPerDay ? 24 : utcDateTime.hour;