Filotto .
00:00:00. , . , java.time.
, :
LocalDate
LocalDate .
. . , Paris France - , "" .
ZoneId z = ZoneId.of( "America/Montreal" );
LocalDate today = LocalDate.now( z );
today.toString(): 2016-01-23
ZonedDateTime
LocalDate, . atStartOfDay, . , - 00:00:00. , (DST), , - 01:00:00. java.time .
ZonedDateTime todayStart = today.atStartOfDay( z );
today.toString(): 2016-01-23T00: 00: 00-05: 00 [/]
. . . "Half-Open" .
Instant
UTC. ZonedDateTime UTC, Instant. Instant UTC ( (9) ).
Instant instant = zdtStart.toInstant();
. - , java.time, / java.time. , .
java.util.GregorianCalendar gc = GregorianCalendar.from( zdtStart );
java.util.Date d = Date.from( instant );
java.time
java.time Java 8 . , java.util.Date, .Calendar java.text.SimpleDateFormat.
Joda-Time, , java.time.
, . Oracle. Qaru .
java.time Java 6 7 ThreeTen-Backport Android ThreeTenABP (. ...).
ThreeTen-Extra java.time . java.time. , Interval, YearWeek, YearQuarter .