[This is preliminary documentation and is subject to change.]
Returns the earliest valid ZonedDateTime with the given local date.

C# | Visual Basic | Visual C++ |
public ZonedDateTime AtStartOfDay( LocalDate date )
Public Function AtStartOfDay ( _ date As LocalDate _ ) As ZonedDateTime
public: ZonedDateTime AtStartOfDay( LocalDate date )

- date (LocalDate)
- The local date to map in this time zone.

The ZonedDateTime representing the earliest time in the given date, in this time zone.

If midnight exists unambiguously on the given date, it is returned.
If the given date has an ambiguous start time (e.g. the clocks go back from 1am to midnight)
then the earlier ZonedDateTime is returned. If the given date has no midnight (e.g. the clocks
go forward from midnight to 1am) then the earliest valid value is returned; this will be the instant
of the transition.

Exception | Condition |
---|---|
SkippedTimeException | The entire day was skipped due to a very large time zone transition.
(This is extremely rare.) |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)