Method ToUtcTimeOfDay
ToUtcTimeOfDay(LocalTime)
Converts Noda NodaTime.LocalTime to a UtcTimeOfDay for persistence or BCL-first APIs.
public static UtcTimeOfDay ToUtcTimeOfDay(LocalTime localTime)
Parameters
localTimeLocalTimeThe Noda local time of day (wall-clock ticks; use with UTC-schedule registration).
Returns
- UtcTimeOfDay
A UtcTimeOfDay wrapping FromTimeSpan(TimeSpan) for FromTicks(long) of NodaTime.LocalTime.TickOfDay.