hourInterval property

int hourInterval
final

will be used as a hour interval, the default value is 1 but you can adjust based on your needs from screen. if the value is 1 then the options will be start from 0 to 23.

Implementation

final int hourInterval;