Calendar Round & Long Count
Work with Maya calendar dates using both the 260-day Tzolkin cycle, 365-day Haab cycle, and the Long Count vigesimal system. Full support for Calendar Round dates and conversions to Western calendars.
Type-Safe & Well-Tested
Written in TypeScript with strict typing and over 500 tests. Immutable date objects, singleton pattern for efficient comparisons, and comprehensive API documentation generated from source code.
Date Arithmetic & Wildcards
Perform date arithmetic with distance numbers, expand wildcard patterns to generate valid date sequences, and convert between multiple correlation constants (GMT, Astronomical, Martin-Skidmore).