DateModel class

日期的实体类

Constructors

DateModel.new()

Properties

day int
getter/setter pair
extraData ↔ dynamic
getter/setter pair
gregorianFestival String
no setter
hashCode int
The hash code for this object.
no setteroverride
isCanClick bool
getter/setter pair
isCurrentDay bool
no setter
isCurrentMonth bool
getter/setter pair
isInRange bool
getter/setter pair
isLeapYear bool
no setter
isSelected bool
getter/setter pair
isWeekend bool
no setter
lunar List<int>
getter/setter pair
lunarDay int
no setter
lunarMonth int
no setter
lunarString String
/ return LunarUtil.solarToLunar(year, month, day);
no setter
lunarYear int
no setter
month int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
solarTerm String
no setter
traditionFestival String
no setter
year int
getter/setter pair

Methods

getDateTime() DateTime
isAfter(DateModel dateModel) bool
isBefore(DateModel dateModel) bool
isSameWith(DateModel dateModel) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromDateTime(DateTime dateTime) DateModel