Joda Time DateTime How to set fraction of a second to value bigger than 999?

Is there any possibility to properly set the fraction of a second, not milliseconds.

I tried to parse the date 2013.06.08 12:46:44.41234 using the pattern yyyy.MM.dd H:mm:ss.SSSSS and the output was: 2013.June.08 12:46:44:41200 : PM.

Jon Skeet
people
quotationmark

Joda-Time only stores date/time values down to the millisecond - just like java.util.Date and java.util.Calendar. So no, there's no way you can precisely represent 412340 microseconds within the second (which is what your text representation shows).

The java.time package in Java 8 has nanosecond granularity - if you can use that instead, you should be fine.

people

See more on this question at Stackoverflow