JS-Joda / LocalTime support for days with more than 24 hours

278 views Asked by At

GTFS feeds do not operate on the basis of a 24 hour day, for instance a trip that departs at 23:00 may arrive at 24:30 (more details).

LocalTime only supports 24 hour days - is there another construct that does support days with more than 24 hours? I was thinking about extending LocalDate to add support but I can see there are many inbuilt assumptions about there being a specific length of the day. It does not look easy to change those.

For reference I am using the JS port of threetenbp (js-joda).

0

There are 0 answers