HighLatitudeRule enum
Which shadow length marks the start of Asr. What to do when the Sun never reaches a method's depression angle.
Every value except nearestLatitude measures the substitution in units of
the night between sunset and sunrise, so none of them can answer inside the
polar circle, where that interval does not exist. Pair one with
highLatitudeReferenceLatitude to cover that case.
Values
- none → const HighLatitudeRule
-
No substitution. The affected times are unavailable.
const HighLatitudeRule(0) - middleOfNight → const HighLatitudeRule
-
Half the night before sunrise, and after sunset.
const HighLatitudeRule(1) - oneSeventh → const HighLatitudeRule
-
One seventh of the night.
const HighLatitudeRule(2) - angleBased → const HighLatitudeRule
-
The twilight angle divided by 60, as a fraction of the night.
const HighLatitudeRule(3) - nearestLatitude → const HighLatitudeRule
-
The same fraction of the night as at the reference latitude.
const HighLatitudeRule(4)
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 - 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<
HighLatitudeRule> - A constant List of the values in this enum, in order of their declaration.