EssentialsTime.FromIso8601Week method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

FromIso8601Week(int, int)

Static

Gets an instance of EssentialsTime representing the start of the specified ISO 8601week.

public static EssentialsTime FromIso8601Week(int year, int week)

Parameters

year int

The ISO 8601 year of the week.

week int

The ISO 8601 week number.

Returns

An instance of EssentialsTime.

FromIso8601Week(int, int, TimeSpan)

Static

Gets an instance of EssentialsTime representing the start of the specified ISO 8601week.

public static EssentialsTime FromIso8601Week(int year, int week, TimeSpan offset)

Parameters

year int

The ISO 8601 year of the week.

week int

The ISO 8601 week number.

offset TimeSpan

The offset to convert the EssentialsTime value to.

Returns

An instance of EssentialsTime.

FromIso8601Week(int, int, TimeZoneInfo)

Static

Gets an instance of EssentialsTime representing the start of the specified ISO 8601week.

public static EssentialsTime FromIso8601Week(int year, int week, TimeZoneInfo timeZone)

Parameters

year int

The ISO 8601 year of the week.

week int

The ISO 8601 week number.

timeZone TimeZoneInfo

The time zone.

Returns

An instance of EssentialsTime.