Skip to content

Commit

Permalink
Merge pull request #394 from observerly/feature/moon/names
Browse files Browse the repository at this point in the history
feat: add names Map to moon module in @observerly/astrometry
  • Loading branch information
michealroberts authored Oct 18, 2024
2 parents 3ed2f33 + bb3d98b commit 642caaa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/moon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

import { getHourAngle, getObliquityOfTheEcliptic } from './astrometry'

import { type GregorianMonth } from './calendar'

import { AU_IN_METERS } from './constants'

import {
Expand Down Expand Up @@ -100,6 +102,23 @@ export type ColloquialMoonNames =

/*****************************************************************************************************************/

export const names = new Map<GregorianMonth, Set<AlgonquinMoonNames | AnishinaabegMoonNames>>([
['January', new Set(['Wolf Moon', 'Spirit Moon'])],
['February', new Set(['Snow Moon', 'Bear Moon'])],
['March', new Set(['Worm Moon', 'Snow Crust Moon'])],
['April', new Set(['Pink Moon', 'Broken Snowshoe Moon'])],
['May', new Set(['Flower Moon', 'Sucker Moon'])],
['June', new Set(['Strawberry Moon', 'Blooming Moon'])],
['July', new Set(['Buck Moon', 'Berry Moon'])],
['August', new Set(['Sturgeon Moon', 'Grain Moon'])],
['September', new Set(['Corn Moon', 'Changing Leaves Moon'])],
['October', new Set(["Hunter's Moon", 'Falling Leaves Moon'])],
['November', new Set(['Beaver Moon', 'Freezing Moon'])],
['December', new Set(['Cold Moon', 'Little Spirit Moon'])]
])

/*****************************************************************************************************************/

export const Phases = {
New: 'New',
WaxingCrescent: 'Waxing Crescent',
Expand Down

0 comments on commit 642caaa

Please sign in to comment.