EastAsianLunisolarCalendar.GetSexagenaryYear(DateTime) 方法

定义

计算与指定日期对应的甲子(60 年)循环中的年份。Calculates the year in the sexagenary (60-year) cycle that corresponds to the specified date.

public:
 virtual int GetSexagenaryYear(DateTime time);
public virtual int GetSexagenaryYear (DateTime time);
abstract member GetSexagenaryYear : DateTime -> int
override this.GetSexagenaryYear : DateTime -> int
Public Overridable Function GetSexagenaryYear (time As DateTime) As Integer

参数

time
DateTime

要读取的 DateTimeA DateTime to read.

返回

甲子循环中的一个从 1 到 60 的数字,它与 date 参数对应。A number from 1 through 60 in the sexagenary cycle that corresponds to the date parameter.

适用于