Note that March 13, 2016, is the weekend that we spring forward, and November 6, 2016, is when we fall back for daylight savings time.
Which of the following can fill in the blank without the code throwing an exception?.
ZoneId zone = ZoneId.of("US/Eastern");
LocalDate date = ;
LocalTime time1 = LocalTime.of(2, 15);
ZonedDateTime a = ZonedDateTime.of(date4, time1, zone);
A, C, D.
Option B is incorrect because there is no March 40th.
Option E is incorrect because 2017 isn't a leap year and therefore has no February 29th.
Option D is correct because it is just a regular date and has nothing to do with daylight savings time.
Options A and C are correct because Java is smart enough to adjust for daylight savings time.