View Source Holidefs.Definition.Store (holidefs v0.3.8)
This module loads and stores all the holiday definitions.
Link to this section Summary
Functions
Returns all the loaded definitions with their rules
Returns the definitions for the given locale
Link to this section Functions
Specs
all_definitions() :: [Holidefs.Definition.t()]
Returns all the loaded definitions with their rules
Specs
get_definition(Holidefs.locale_code()) :: Holidefs.Definition.t() | nil
Returns the definitions for the given locale