@drewsonne/maya-dates
Version:
Typescript package to manipulate dates in the Maya Calendar
29 lines (28 loc) • 693 B
TypeScript
import { Wildcard } from "../../wildcard";
import Cycle from "./cycle";
export declare enum HaabMonths {
POP = "Pop",
WO = "Wo",
SIP = "Sip",
SOTZ = "Sotz'",
SEK = "Sek",
XUL = "Xul",
YAXK_IN = "Yaxk'in",
MOL = "Mol",
CH_EN = "Ch'en",
YAX = "Yax",
SAK = "Sak",
KEH = "Keh",
MAK = "Mak",
K_ANK_IN = "K'ank'in",
MUWAN = "Muwan",
PAX = "Pax",
K_AYAB = "K'ayab",
KUMK_U = "Kumk'u",
WAYEB = "Wayeb"
}
export declare function getHaabMonth(newCycleName: (string | number | Wildcard)): (HaabMonth | Wildcard);
export declare class HaabMonth extends Cycle {
constructor(raw: string | Wildcard);
validate(): boolean;
}