FestivalDate class

Result of finding a festival date, including muhurta window and tithi span.

Constructors

FestivalDate({required FestivalDef festival, required DateTime date, required DateTime tithiStart, required DateTime tithiEnd, DateTime? muhurtaStart, DateTime? muhurtaEnd, required LunarMonth month, bool isAdhika = false})

Properties

date DateTime
final
hashCode int
The hash code for this object.
no setterinherited
id String
Stable festival identifier (see FestivalDef.id).
no setter
isAdhika bool
final
month LunarMonth
The actual lunar month this occurrence falls in. For non-recurring festivals this equals FestivalDef.month; for recurring festivals it is the month resolved from the occurrence date via tithiOnDate.
final
muhurta MuhurtaRule
Observance rule used to pick the day.
no setter
muhurtaEnd DateTime?
final
muhurtaStart DateTime?
final
name String
Festival display name.
no setter
paksha Paksha
Fortnight (shukla/krishna).
no setter
recurring bool
Whether this festival recurs every lunar month.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tithiEnd DateTime
final
tithiInPaksha int
Position within the paksha (1–15).
no setter
tithiNumber int
Absolute tithi number (1–30).
no setter
tithiStart DateTime
final

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