min hour should be >= 0 && <= 24. outside the range will trigger an error on the screen.
final int minHour;