CalendarDateTime class

Constructors

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

Properties

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) CalendarDateTime?
parseDateTime(String dateTime) CalendarDateTime?