Interoperating with Legacy Code in Java
As a new creation, the Java Date and Time API will have to interoperate with existing classes—in particular, the ubiquitous java.util.Date, java.util .GregorianCalendar, and java.sql.Date/Time/Timestamp. The Instant class is a close analog to java.util.Date. In Java 8, that class has two added methods: the toInstant method that converts a Date to an Instant, and the [ [ ...]