Skip to content
Advertisement

Tag: jodatime

Joda-Time Invalid format exception for Hebrew language

I want to try parse so simple date on Java-11. Date language is: Hebrew Date format is: “MMM YYYY dd” Example date is: “18 אוק 2010” And my code looks like: But when I try it, I get an error like: Is there any suggestion? Answer Reading direction Your format pattern string , MMM YYYY dd, says that the month

Convert LocalDate to LocalDateTime or java.sql.Timestamp

I am using JodaTime 1.6.2. I have a LocalDate that I need to convert to either a (Joda) LocalDateTime, or a java.sqlTimestamp for ormapping. The reason for this is I have figured out how to convert between a LocalDateTime and a java.sql.Timestamp: So, if I can just convert between LocalDate and LocalDateTime, then I can make the continued conversion to

GPS Time Representation library

I am looking for a Java library that handles conversion to/from GPS Time. GPS Time has an epoch of 6 January 1980, and does not have leap seconds, so it differs from the more standard time representations. Here is the relevant description from wikipedia: While most clocks are synchronized to Coordinated Universal Time (UTC), the atomic clocks on the satellites

Advertisement