WorkdayDirection enum
An enum that represents the direction of the EveryDueWorkdayMonth.from constructor.
Values
- none → const WorkdayDirection
-
An enum that represents the direction of the EveryDueWorkdayMonth.from constructor.
Represents no direction. If this is passed to the EveryDueWorkdayMonth.from constructor, and the given date is not a workday, it will throw an ArgumentError.
- forward → const WorkdayDirection
-
An enum that represents the direction of the EveryDueWorkdayMonth.from constructor.
Represents a forward direction. If this is passed to the EveryDueWorkdayMonth.from constructor, and the given date is not a workday, it will return the next workday.
- backward → const WorkdayDirection
-
An enum that represents the direction of the EveryDueWorkdayMonth.from constructor.
Represents a backward direction. If this is passed to the EveryDueWorkdayMonth.from constructor, and the given date is not a workday, it will return the previous workday.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isBackward → bool
-
Returns true if
thisis WorkdayDirection.backward.no setter - isForward → bool
-
Returns true if
thisis WorkdayDirection.forward.no setter - isNone → bool
-
Returns true if
thisis WorkdayDirection.none.no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
WorkdayDirection> - A constant List of the values in this enum, in order of their declaration.