Class IsoDayOfWeekExtensions
Extension methods
Since 2.0.x
Availability net6.0, netstandard2.0
Inheritance
Object
IsoDayOfWeekExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: NodaTime.Extensions
Assembly: NodaTime.dll
Syntax
public static class IsoDayOfWeekExtensions
Methods
ToDayOfWeek(IsoDayOfWeek)
Converts a IsoDayOfWeek into the corresponding System.DayOfWeek.
Since 2.1.x
Availability net6.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).