DayOfWeek class
Equates the days of the week with their numerical value according to ISO-8601.
- Annotations
-
- @immutable
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator +(
DayOfWeek other) → int -
operator -(
DayOfWeek other) → int -
operator <(
DayOfWeek other) → bool -
operator <=(
DayOfWeek other) → bool -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
DayOfWeek other) → bool -
operator >=(
DayOfWeek other) → bool
Constants
- friday → const DayOfWeek
- Value representing Friday (5).
- monday → const DayOfWeek
- Value representing Monday (1).
- none → const DayOfWeek
- Value indicating no day of the week; this will never be returned by any IsoDayOfWeek property, and is not valid as an argument to any method.
- saturday → const DayOfWeek
- Value representing Saturday (6).
- sunday → const DayOfWeek
- Value representing Sunday (7).
- thursday → const DayOfWeek
- Value representing Thursday (4).
- tuesday → const DayOfWeek
- Value representing Tuesday (2).
- wednesday → const DayOfWeek
- Value representing Wednesday (3).