ISOWeek Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |