DatePickingLogic class
Constructors
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
-
daysOfTheMonth(
DateTime firstDay) → List< DateTime> - Return all the days of the month as DateTime list, starting from the first previous sunday, till the last day of the month
-
firstDayOfTheMonth(
int far) → DateTime - Returns the first day of the month, given how far this month is from today
-
isBeforeNow(
DateTime date) → bool - Verify if the given date is in a previous day than the current
-
isSameAsSelected(
DateTime date, DateTime? selectedDate) → bool - Verify if the given date is the same as the selected day
-
isToday(
DateTime date) → bool -
previousSunday(
DateTime time) → DateTime - Returns the first previous Sunday from today