MoonRelativeRule class
A rule that places a festival relative to a moon phase in a Santali month.
The festival date is computed as offsetDays after (or before, if negative) the phase of monthId.
Constructors
- MoonRelativeRule({required MoonPhase phase, required SantaliMonthId monthId, required int offsetDays})
-
Creates a moon-relative rule.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- monthId → SantaliMonthId
-
Santali month in which the moon phase occurs.
final
- offsetDays → int
-
Number of days to add to the moon-phase date.
final
- phase → MoonPhase
-
Moon phase to offset from.
final
- 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