Noda Time
ToDayOfWeek Method (isoDayOfWeek)
NamespacesNodaTime.UtilityBclConversionsToDayOfWeek(IsoDayOfWeek)

[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.
Declaration Syntax
C#Visual BasicVisual C++
public static DayOfWeek ToDayOfWeek(
	IsoDayOfWeek isoDayOfWeek
)
Public Shared Function ToDayOfWeek ( _
	isoDayOfWeek As IsoDayOfWeek _
) As DayOfWeek
public:
static DayOfWeek ToDayOfWeek(
	IsoDayOfWeek isoDayOfWeek
)
Parameters
isoDayOfWeek (IsoDayOfWeek)
ISO day of week value to convert.
Return Value
The ISO day of week value equivalent to the one passed in.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe isoDayOfWeek parameter is not a valid day of the week.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)