Interface: MoonData
SimpleCalendar.MoonData
Interface for all information about a moon
Hierarchy
-
IDataItemBase
↳
MoonData
Properties
color
• color: string
The color associated with the moon.
currentPhase
• Optional
currentPhase: MoonPhase
The moon phase for the current date.
cycleDayAdjust
• cycleDayAdjust: number
A way to nudge the cycle calculations to align with correct dates.
cycleLength
• cycleLength: number
How many days it takes the moon to complete 1 cycle.
firstNewMoon
• firstNewMoon: FirstNewMoonDate
When the first new moon was. This is used to calculate the current phase for a given day.
id
• id: string
The unique ID of the data item
Inherited from
IDataItemBase.id
name
• name: string
The name of the moon.
Overrides
IDataItemBase.name
numericRepresentation
• Optional
numericRepresentation: number
The optional numeric representation of the data item
Inherited from
IDataItemBase.numericRepresentation
phases
• phases: MoonPhase
[]
The different phases of the moon.