[This is preliminary documentation and is subject to change.]
Converts from the Noda Time IsoDayOfWeek enum to the equivalent BCL
DayOfWeek value. Other than Sunday, the BCL and ISO values are the same -
but ISO 8601 defines Sunday as day 7, and the BCL defines it as day 0.

C# | Visual Basic | Visual C++ |
public static DayOfWeek ToDayOfWeek( IsoDayOfWeek isoDayOfWeek )
Public Shared Function ToDayOfWeek ( _ isoDayOfWeek As IsoDayOfWeek _ ) As DayOfWeek
public: static DayOfWeek ToDayOfWeek( IsoDayOfWeek isoDayOfWeek )

- isoDayOfWeek (IsoDayOfWeek)
- ISO day of week value to convert.

The ISO day of week value equivalent to the one passed in.

Exception | Condition |
---|---|
ArgumentOutOfRangeException | The isoDayOfWeek parameter
is not a valid day of the week. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)