Module: Chronik

Defined in:
lib/chronik/label.rb,
lib/chronik/chronik.rb

Defined Under Namespace

Classes: Label

Constant Summary collapse

SUGAR =
[:dni, :i, :w]
ALL_HOLIDAYS =
[:'święta', :wolne]
HOLIDAYS =
{
  [:wielkanoc, :wielkanocy] => easter_dates(0..1),
  [:wielkanocny] => easter_dates(1),
  [:sylwester, :sylwestra] => fixed_dates(12,31)
}
WEEKDAYS =
{
  [:*, :'tydzień'] => (0..6).to_a,
  [:powszedni, :powszednie] => (1..5).to_a,
  [:weekend, :weekendy] => [0,6],
  [:sobota, :soboty] => [6],
  [:niedziela, :niedziele] => [0]
}