Noda Time
AtStartOfDay Method (date)
NamespacesNodaTimeDateTimeZoneAtStartOfDay(LocalDate)
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
public:
ZonedDateTime AtStartOfDay(
	LocalDate date
)
Parameters
date (LocalDate)
The local date to map in this time zone.
Return Value
ZonedDateTime
The ZonedDateTime representing the earliest time in the given date, in this time zone.
Remarks
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.
Exceptions
ExceptionCondition
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.0.0 (1.1.1)