ChineseCalHelper Properties

HD.Common

ChineseCalHelper Properties Helper帮助文档

The ChineseCalHelper type exposes the following members.

Properties

  Name Description
Public property Animal
计算属相的索引,注意虽然属相是以农历年来区别的,但是目前在实际使用中是按公历来计算的 鼠年为1,其它类推
Public property AnimalString
取属相字符串
Public property ChineseConstellation
28星宿计算
Public property ChineseDateString
取农历日期表示法:农历一九九七年正月初五
Public property ChineseDay
农历日
Public property ChineseDayString
农历日中文表示
Public property ChineseHour
时辰
Public property ChineseMonth
农历的月份
Public property ChineseMonthString
农历月份字符串
Public property ChineseTwentyFourDay
定气法计算二十四节气,二十四节气是按地球公转来计算的,并非是阴历计算的
Public property ChineseTwentyFourNextDay
Public property ChineseTwentyFourPrevDay
Public property ChineseYear
取农历年份
Public property ChineseYearString
取农历年字符串如,一九九七年
Public property Constellation
计算指定日期的星座序号
Public property Date
取对应的公历日期
Public property DateHoliday
按公历日计算的节日
Public property DateString
公历日期中文表示法 如一九九七年七月一日
Public property GanZhiDateString
取当前日期的干支表示法如 甲子年乙丑月丙庚日
Public property GanZhiDayString
取干支日表示法
Public property GanZhiMonthString
取干支的月表示字符串,注意农历的闰月不记干支
Public property GanZhiYearString
取农历年的干支表示法如 乙丑年
Public property IsChineseLeapMonth
是否闰月
Public property IsChineseLeapYear
当年是否有闰月
Public property IsLeapYear
当前是否公历闰年
Public property newCalendarHoliday
计算中国农历节日
Public property WeekDay
取星期几
Public property WeekDayHoliday
按某月第几周第几日计算的节日
Public property WeekDayStr
周几的字符
Top
See Also

Reference