(Simple)DateFormat that allow 24:00:00 and 00:00:00 as inputs
问题 I've been looking for this for a while, with no success so far. Do you know if there's a "DateFormat" ish class, that will allow me to use "00:00:00" and "24:00:00" as input parameters (they're both midnight) but when called "getHour()" I'll get 0 or 24 as a result? Using "kk" will only allow me to have <1:24> range, meanwhile I'm looking for <0:24> range formatting 回答1: The value 24:00 is not represented in a LocalTime because it is strictly part of the next day. Consideration was given to