Skip to content

Extension points

tilttek/fantasy-calendar

The package is at 0.x: its extension points are stable only from its 1.0 release. Until then, a minor version may change them, and its CHANGELOG says how.

PointWhat an application givesWhere
The calendars of its worldTheir definitions, built or read from arraysDefining a calendar
Contract\ReminderSourceThe store of its reminders, on its own databaseReminders
Contract\SeasonSourceSeasons and climate zones of its own — by region, by plane —, for its weatherMoons, eras and seasons
The current dateThe day, the moment and the pace it keeps, and the real timeTime and ages

Calendars, days and dates are immutable values; Agenda keeps no state between two calls.