Noda Time
AtStartOfDay Method (date)
Returns the earliest valid ZonedDateTime with the given local date.
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTime AtStartOfDay(
	LocalDate date
Public Function AtStartOfDay ( 
	date As LocalDate
) As ZonedDateTime
ZonedDateTime AtStartOfDay(
	LocalDate date
date (LocalDate)
The local date to map in this time zone.
Return Value
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.
SkippedTimeExceptionThe entire day was skipped due to a very large time zone transition. (This is extremely rare.)

Assembly: NodaTime (Module: NodaTime.dll) Version: (1.1.1)