Class TimeOnlyExtensions
Extension methods for TimeOnly.
Since 3.1.x
Availability net6.0, net8.0
Inherited Members
Namespace: NodaTime.Extensions
Assembly: NodaTime.dll
Syntax
public static class TimeOnlyExtensions
Methods
ToLocalTime(TimeOnly)
Since 3.1.x
Availability net6.0, net8.0
Declaration
public static LocalTime ToLocalTime(this TimeOnly time)
Parameters
Type | Name | Description |
---|---|---|
TimeOnly | time | The time of day to convert. |
Returns
Type | Description |
---|---|
LocalTime | The LocalTime equivalent. |