Table of Contents

Method ToUtcTimeOfDay

Namespace
KZDev.PrimeTime
Assembly
KZDev.PrimeTime.dll

ToUtcTimeOfDay(LocalTime)

Converts Noda NodaTime.LocalTime to a UtcTimeOfDay for persistence or BCL-first APIs.

public static UtcTimeOfDay ToUtcTimeOfDay(LocalTime localTime)

Parameters

localTime LocalTime

The 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.