ISOWeek.GetYearStart(Int32) 方法

定义

计算周编号年份开始的公历日期。Calculates the Gregorian date at which the week-numbering year will start.

public:
 static DateTime GetYearStart(int year);
public static DateTime GetYearStart (int year);
static member GetYearStart : int -> DateTime
Public Shared Function GetYearStart (year As Integer) As DateTime

参数

year
Int32

ISO 周编号年份(也称为非正式的 ISO 年份)。An ISO week-numbering year (also called an ISO year informally).

返回

DateTime

周编号年份开始的公历日期。The Gregorian date at which the week-numbering year will start.

适用于