CalendarDateTime class

Constructors

CalendarDateTime({required int year, required int month, required int day, required CalendarType calendarType, bool isEnableDay = true, int? toMonth, int? toDay, int? hour, int? minute, int? second, Color? color})

Properties

calendarType CalendarType
getter/setter pair
color Color?
getter/setter pair
day int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hour int?
getter/setter pair
isEnableDay bool
getter/setter pair
minute int?
getter/setter pair
month int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int?
getter/setter pair
toDay int?
getter/setter pair
toMonth int?
getter/setter pair
year int
getter/setter pair

Methods

getDate() String
isDateEqual(CalendarDateTime dateTime) bool
isDateEqualByInt(int year, int month, int day) bool
isDateTimeEqual(CalendarDateTime dateTime) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDateTime() DateTime
toString() String
A string representation of this object.
override

Operators

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

Static Methods

parseDate(String date, CalendarType calendarType) CalendarDateTime?
parseDateTime(String dateTime, CalendarType calendarType) CalendarDateTime?