System::Globalization::Calendar::GetDaysInYear 方法

Calendar::GetDaysInYear(int) const method

获取特定年份的天数。

virtual int System::Globalization::Calendar::GetDaysInYear(int year) const
参数类型描述
年份int要获取天数的年份。

ReturnValue

指定年份的天数。

另见

Calendar::GetDaysInYear(int, int) const method

获取特定年份的天数。

virtual int System::Globalization::Calendar::GetDaysInYear(int year, int era) const
参数类型描述
年份int要获取天数的年份。
纪元int纪元。

ReturnValue

指定时代中指定年份的天数。

另见