Skip to main content
Version: 2.4.x

Interface: MoonData

SimpleCalendar.MoonData

Interface for all information about a moon

Hierarchy

  • IDataItemBase

    MoonData

Properties

abbreviation

Optional abbreviation: string

The abbreviated name of the data item.

Inherited from

IDataItemBase.abbreviation


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.


description

Optional description: string

The optional description of the data item

Inherited from

IDataItemBase.description


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.


showAdvanced

Optional showAdvanced: boolean

If to show the advanced options, this is not saved

Inherited from

IDataItemBase.showAdvanced