Why do we need a new date and time library ... have led to the popularity of third-party date and time libraries, such as Joda ... ANSI SQL: Java SE 8: DATE: LocalDate: Joda DateTime mapper in Slick Raw. A long-standing bugbear of Java developers has been the inadequate support for the date and time use cases of java.util.Date vs java.sql.Date: when to use which and why? Why do we need a new date and time library? Thus inter-conversion between Joda DateTime and JDK Date can be performed ... the converters can convert a JDK Date object to a DateTime. #81 Add interoperability with java.sql.Timestamp ... public class DateTime ... but it would also suggest methods for SQL Date and Time. ... import java.sql. java.util.Date vs java.sql.Date: when to use which and why? java.lang.ClassCastException: java.util.Date cannot be cast to org.joda.time.DateTime even with RegisterJodaTimeConversionHelpers Showing 1 Date: import org.joda.time. DateTime: import slick.lifted.TypeMapper. DateTime - full date and time with time-zone; ... Joda-Time requires Java SE 5 or later and has no dependencies. User guide; Key concepts.