phase
TypeScriptget phase(): MoonPhaseSwift declarationvar phase: MoonPhaseThe moon phase.
struct · iOS 16.0+ · SDK 27.1
struct MoonEventsA structure that represents lunar events.
get phase(): MoonPhaseSwift declarationvar phase: MoonPhaseThe moon phase.
set phase(value: MoonPhase)Swift declarationvar phase: MoonPhaseThe moon phase.
get moonset(): (globalThis.Date) | nullSwift declarationvar moonset: Date?The time of moonset. Moonset occurs when the moon sets below Earth's horizon.
set moonset(value: (globalThis.Date) | null)Swift declarationvar moonset: Date?The time of moonset. Moonset occurs when the moon sets below Earth's horizon.
get moonrise(): (globalThis.Date) | nullSwift declarationvar moonrise: Date?The time of moonrise. Moonrise occurs when the moon first appears above Earth’s horizon.
set moonrise(value: (globalThis.Date) | null)Swift declarationvar moonrise: Date?The time of moonrise. Moonrise occurs when the moon first appears above Earth’s horizon.
No declarations were skipped in this snapshot.