Top "Jodatime" questions

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

Joda-Time: what's the difference between Period, Interval and Duration?

In Joda-Time 2, what is the difference between the three kinds of time spans: Period Interval Duration Why do we need …

java jodatime
Comparing two Joda-Time DateTime objects

I am dealing with something very similar to what has been asked here - compare Joda-Time time zones but it …

java jodatime
In joda time how to convert time zone without changing time

I am getting UTC timestamp from database which is I am setting into a JodaTime DateTime instance DateTime dt = new …

java datetime jodatime
Comparing two dates using Joda time

I want to compare two dates, however I'm running into trouble. 1 date is created from a java.util.date object …

java date time jodatime
Add one day into Joda-Time DateTime

I have date Wed May 08 00:00:00 GMT+06:30 2013. I add one day into it by using Joda-Time DateTime like this. DateTime dateTime = …

java datetime jodatime
How to use Joda-Time with java.sql.Timestamp

I Have a prepared statement INSERT INTO mst(time) VALUES (?); where time is of type Timestamp in a PostgreSQL database. …

java postgresql timestamp jodatime
JodaTime - how to get current time in UTC

I want to get the current time in UTC. What I do so far is following (just for testing purposes): …

java jodatime
How to get the last date of a particular month with JodaTime?

I need to get the first date (as org.joda.time.LocalDate) of a month and the last one. Getting …

java scala jodatime
How to convert Joda Localdate to Joda DateTime?

I'm trying to simply add TimeZone information back into a LocalDate before performing some more calculations. The LocalDate came from …

java timezone jodatime
How to convert Joda LocalDate to java.util.Date?

What is the simplest way to convert a JodaTime LocalDate to java.util.Date object?

java date jodatime