maxHour property

int maxHour
final

max hour should be >= 0 && <= 24. outside the range will trigger an error on the screen.

Implementation

final int maxHour;