maxHour property
max hour should be >= 0 && <= 24. outside the range will trigger an error on the screen.
Implementation
final int maxHour;
max hour should be >= 0 && <= 24. outside the range will trigger an error on the screen.
final int maxHour;