Class IsoDayOfWeekExtensions
Extension methods
Since 2.0.x
Availability net6.0, net8.0, netstandard2.0
Inherited Members
Namespace: NodaTime.Extensions
Assembly: NodaTime.dll
Syntax
public static class IsoDayOfWeekExtensions
Methods
ToDayOfWeek(IsoDayOfWeek)
Converts a IsoDayOfWeek into the corresponding DayOfWeek.
Since 2.1.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public static DayOfWeek ToDayOfWeek(this IsoDayOfWeek isoDayOfWeek)
Parameters
Type | Name | Description |
---|---|---|
IsoDayOfWeek | isoDayOfWeek | The IsoDayOfWeek to convert. |
Returns
Type | Description |
---|---|
DayOfWeek | The DayOfWeek equivalent to isoDayOfWeek |
Remarks
This is a convenience method which calls ToDayOfWeek(IsoDayOfWeek).