Redigeeri

Jagamisviis:


ISOWeek Class

Definition

Provides static members to support the ISO week date that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO).

public ref class ISOWeek abstract sealed
public static class ISOWeek
type ISOWeek = class
Public Class ISOWeek
Inheritance
ISOWeek

Methods

GetWeekOfYear(DateTime)

Calculates the ISO week number of a given Gregorian date.

GetWeeksInYear(Int32)

calculates the number of weeks in a given ISO week-numbering year.

GetYear(DateTime)

Calculates the ISO week-numbering year (also called ISO year informally) mapped to the input Gregorian date.

GetYearEnd(Int32)

Calculates the Gregorian date at which the week-numbering year will end.

GetYearStart(Int32)

Calculates the Gregorian date at which the week-numbering year will start.

ToDateTime(Int32, Int32, DayOfWeek)

Maps the ISO week date represented by a specified ISO year, week number, and day of week to the equivalent Gregorian date.

Applies to