Change order of times in TimePicker overlay

Is it possible to change the order of the times in the TimePicker overlay?

With no min/max it runs from 0:00 to 23:59. But I need it to run from 4:30 to 4:30 (work day).

timePicker.setMinTime(LocalTime.of(4, 0));
timePicker.setMaxTime(LocalTime.of(4, 30));

that doesn’t work than is just 4:00 and 4:30 (assuming 30min steps)

I need4:30, 5:00, … 23:30, 0:00, 0:30 … 3:30, 4:00

Looks like I misread your question… you want to have the time of “two days” in a single timepicker… I don’t think that’s possible

actually I don’t care about the day, I need just the day to start at a different time :wink:

My example from above could work then :wink:

no it would only include 4:00 and 4:30.

setting max < min results in nothing shown

It was more about something like 04:00-23:30 to include the whole day starting at 4AM

but than operating theaters could not request material from 0:00 till 4:00, that would be bad for the emergencies that come in that time. “Sorry your life saving operation needs to wait till 4:00” :smile:

Well now you have your answer to allow 00:00-24:00 :stuck_out_tongue_winking_eye: