calendar-patterns

Catalog six reusable calendar patterns for epoch handling and year boundaries.

26|6|Updated Apr 14, 2024
One-click install
npx skills add https://github.com/CodapopKSP/LibraryOfTime --skill calendar-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: calendar-patterns
Source: https://github.com/CodapopKSP/LibraryOfTime/tree/main/.cursor/skills/calendar-patterns
Command: npx skills add https://github.com/CodapopKSP/LibraryOfTime --skill calendar-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Catalogs and advises on calendar pattern implementations to standardize timekeeping logic across calendars and timekeeping systems within the Library of Time.

Core Features & Use Cases

  • Catalogs six reusable calendar design patterns (Anchor-epoch + day count, Equinox/solstice-anchored year, Shifted day-boundary / weekday logic, Timezone-localized Gregorian derivatives, JDN-based conversions, Cycle-based / exotic year models).
  • Provides concrete examples and guidance on when to apply each pattern, with patterns mapped to real-world calendars (e.g., Coptic, Baháʼí, Solar Hijri, French Republican, Darian, Pawukon, etc.).
  • Outlines core ingredients and implementation considerations for selecting and combining patterns, aiding design decisions and risk assessment.

Quick Start

Review your calendar design and map it to one of the six patterns, then implement the chosen pattern in your algorithm.

Frequently Asked Questions about calendar-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a calendar system with accurate epoch and year boundary logic?

You can map your timekeeping logic to one of six reusable calendar patterns. This Skill catalogs implementations for epoch handling, year boundaries, and day-month structures to standardize diverse calendar systems.

What is the best way to anchor a solar or lunar calendar using equinox or solstice events?

Equinox and solstice anchoring uses a specific calendar pattern. This Skill advises selecting and implementing an equinox-anchored year pattern, providing real-world examples like the Solar Hijri calendar.

How do I convert dates using JDN across different calendar systems?

JDN-based conversions are handled by one of six cataloged calendar patterns. This Skill outlines core ingredients and implementation considerations for applying JDN conversions across diverse timekeeping systems.

When should I use cycle-based exotic year models instead of standard Gregorian derivatives?

Cycle-based exotic year models suit non-standard calendars like Pawukon. This Skill guides when to apply exotic patterns versus timezone-localized Gregorian derivatives, aiding design and risk assessment.

Can I implement shifted day-boundary and weekday logic for a custom civil calendar?

Shifted day-boundary and weekday logic is one of six available calendar patterns. This Skill defines the pattern structure and lists implementation considerations for building custom civil calendars.