OdinChineseCalendar class

Constructors

OdinChineseCalendar(dynamic cc)
动态参数 构造重载

Properties

animalStartYear int
final
animalStr String
final
chineseConstellationReferDay DateTime
final
ganStr String
final
ganZhiStartDay DateTime
final
ganZhiStartYear int
final
hashCode int
The hash code for this object.
no setterinherited
hzNum String
final
lunarDateArray List<int>
final
lunarHolidayStruct List<LunarHolidayStruct>
final
maxDay DateTime
final
maxYear int
final
minDay DateTime
final
minYear int
final
monthString List<String>
final
nStr1 String
final
nStr2 String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
solarHolidayStruct List<SolarHolidayStruct>
final
weekHolidayStruct List<WeekHolidayStruct>
final
zhiStr String
final

Methods

animal() int
计算属相的索引,注意虽然属相是以农历年来区别的,但是目前在实际使用中是按公历来计算的 鼠年为1,其它类推
animalString() String
取属相字符串
chineseCalendarHoliday() String
计算中国农历节日
chineseConstellation() String
28星宿计算
chineseDateString() String
取农历日期表示法:农历一九九七年正月初五
chineseDay() int
农历日
chineseDayString() String
农历日中文表示
chineseHour() String
时辰
chineseMonth() int
农历的月份
chineseMonthString() String
农历月份字符串
chineseTwentyFourDay() String
当前日期后一个最近节气
chineseYear() int
取农历年份
chineseYearString() String
中文纪年
constellation() String
计算指定日期的星座序号
dateHoliday() String
按公历日计算的节日
dateString() String
公历日期中文表示法 如一九九七年七月一日
ganZhiDateString() String
取当前日期的干支表示法如 甲子年乙丑月丙庚日
ganZhiDayString() String
取干支日表示法
ganZhiMonthString() String
取干支的月表示字符串,注意农历的闰月不记干支
ganZhiYearString() String
取农历年的干支表示法如 乙丑年
isChineseLeapMonth() bool
是否闰月
isChineseLeapYear() bool
当年是否有闰月
isLeapYear() bool
当前是否公历闰年
nextDay() OdinChineseCalendar
取下一天
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pervDay() OdinChineseCalendar
取前一天
toString() String
A string representation of this object.
inherited
weekDayHoliday() String
按某月第几周第几日计算的节日
weekDayStr() String
周几的字符

Operators

operator ==(Object other) bool
The equality operator.
inherited