Top "Jodatime" questions

Joda-Time provides a quality replacement for the Java date and time classes.

Joda DateTime to Timestamp conversion

I am trying to change the value of Timestamp by DateTimeZone in Joda : DateTime dt = new DateTime(rs.getTimestamp("anytimestampcolumn"), …

java jodatime
What's the standard way to work with dates and times in Scala? Should I use Java types or there are native Scala alternatives?

What's the standard way to work with dates and times in Scala? Should I use Java types such as java.…

datetime scala jodatime
Parse Date String to Some Java Object

I am working in a project that reads files and processes data. There I got to work with dates for …

java datetime jodatime date-parsing
Joda time : How to convert String to LocalDate?

How to specify the format string to convert the date alone from string. In my case, only the date part …

java jodatime
How to convert DateTime to Date

How can I convert Date to DateTime and vice versa? E.g. Date dt = new Date(); Now I want to …

java datetime jodatime
How to get properly current date and time in Joda-Time?

How to get properly actual date and time in Joda Time? By properly I mean time in my country. I …

java date datetime time jodatime
Differences between Java 8 Date Time API (java.time) and Joda-Time

I know there are questions relating to java.util.Date and Joda-Time. But after some digging, I couldn't find a …

java datetime java-8 jodatime java-time
How to convert Joda-Time DateTime to java.util.Date and vice versa?

Is it possible to do that? If yes, then how do I do the conversion from Joda-Time to Date and …

java datetime jodatime java.util.date
How to convert Joda LocalDate to String in Java?

I got the answer: It's very simple. DateTimeFormatter fmt = DateTimeFormat.forPattern("MM/dd/yyyy"); String formattedDate = jodeLocalDateObj.toString( fmt );

java date jodatime
Defaulting date time zone to UTC for Jodatime's DateTime

I am currently creating UTC DateTime objects using the current idiom DateTime now = new DateTime(DateTimeZone.UTC); Is there any …

java jodatime