DateHelper class

Collection of methods regarding the calculation of the dates.

Constructors

DateHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isDayOfCurrentMonthInLastRow({required CalendarWeek calendarWeek}) bool
Checks if any day of CalendarWeek is in current month using isInCurrentMonth flag
isDayOutOfRange({required DateTime dayDateTime, required DateTime? minimumDayDate, required DateTime? maximumDayDate}) bool
Checks if a given day is out of Range
isMaximumMonthDateReached({required DateTime maximumDateTime, required DateTime currentDateTime}) bool
Checks if maximum month has been reached.
isMinimumMonthDateReached({required DateTime minimumMonthDate, required DateTime currentDateTime}) bool
Checks if minimum month has been reached.