Weekday enum
The weekday of a Slot.
Values
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - nextDate → DateTime
-
Returns the next date of this weekday.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
futureDates(
[int weeks = 1]) → List< DateTime> -
Returns the dates of this weekday starting from DateTime.now() until
weeks
weeks in the future. -
getDates(
DateTime start, DateTime end) → List< DateTime> -
Returns the dates of this weekday between
start
andend
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
peek(
int index) → DateTime -
Returns the date of this weekday
index
weeks in the future. 0 means the next date (including today), 1 means the date after the next date, etc. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited