hourOf12HourClock property
int
hourOf12HourClock
Gets the hour of the half-day of this local date and time, in the range 1 to 12 inclusive.
Implementation
int get hourOf12HourClock => clockTime.timeSinceMidnight.hourOf12HourClock;