Top "Jodatime" questions

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

getting DateTime from ResultSet in JdbcTemplate

in database my column is of type TIMESTAMP, so my class has properties of type Datetime like this: public void …

java datetime jdbc jodatime jdbctemplate
date in MongoDB: when inserting Date objects into Mongo database, the date becomes 1 day earlier than itself

My date string format is like this: Jan 2, 2012 After the Instant.parse() method, instant instance becomes the date of Jan 1, 2012, …

java mongodb jodatime instant
Recommended use for Joda-Time's DateMidnight

The javdoc for LocalDate#toDateMidnight reads as follows: As from v1.5, you are recommended to avoid DateMidnight and use toDateTimeAtStartOfDay() …

java date jodatime
Equivalent to jodatime Interval in Java 8 Date and Time API

The Java 8 way of dealing with time seems to have improved so much that I start to think about replacing …

jodatime java-8
ISO 8601 Time Interval Parsing in Java

ISO 8601 defines a syntax for representing a time interval. There are four ways to express a time interval: Start and …

java parsing time jodatime intervals
convert millisecond to Joda Date Time or for zone 0000

please tell me how to convert milliseconds to joda Date time?? formatter = DateTimeFormat.forPattern("dd/MM/yyyy'T'HH:mm:ss").withZone(…

android jodatime
Is Joda-Time DateTimeFormatter class thread safe?

Is the Joda-Time DateTimeFormatter class thread safe? Once I get an instance from DateTimeFormat.forPattern, can its various parse methods …

java thread-safety jodatime date-format
spring boot Joda DateTime Serialisation

I'm trying to serialize Joda DateTime properties as ISO-8601 using Spring Boot v1.2.0.BUILD-SNAPSHOT Here is my very simple REST …

datetime jackson jodatime spring-boot iso8601
Is there a standard implementation for a GSON Joda Time serialiser?

I'm using GSON to serialise some object graphs to JSON. These objects graphs use Joda Time entities (DateTime, LocalTime etc). …

java gson jodatime
Parsing time strings like "1h 30min"

Anyone know of a Java library that can parse time strings such as "30min" or "2h 15min" or "2d 15h 30…

java parsing time jodatime