Hi Stephen,

Stephen Magee wrote:
>
> I’m trying to parse some data that will include times in HHmmss format 
> from 000000 to 240000. This seems to be allowed according to ISO8601 
> but I get an exception on parsing 240000 where it says that the hour 
> must be from 1 to 23.
>
> Is there anyway to configure a DateTimeFormat to accept times in the 
> range 000000 to 240000?
>
I'd have thought that 000000 and 240000 represent exactly the same thing 
so I'm guessing that's why Joda Time won't accept 240000. I'd have 
thought that midnight is 000000 and the second before that was 235959 or 
am I missing something?

HTH,

Rob Hills
Waikiki, Western Australia

------------------------------------------------------------------------------
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to