holidefs v0.2.0 Holidefs.Definition.Store View Source

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

Starts the server and loads all calendar files

Link to this section Functions

Link to this function all_definitions() View Source
all_definitions() :: [Holidefs.Definition.t()]

Returns all the loaded definitions with their rules

Link to this function get_definition(locale) View Source
get_definition(atom()) :: Holidefs.Definition.t() | nil

Returns the definitions for the given locale

Link to this function start_link(atom) View Source
start_link(nil) :: Agent.on_start()

Starts the server and loads all calendar files