module Holidays::BE
def self.custom_methods
def self.custom_methods { } end
def self.defined_regions
All the definitions are available at https://github.com/holidays/holidays
require 'generated_definitions/be'
require 'holidays'
Holiday gem:
To use the definitions in this file, load it right after you load the
Definitions loaded: definitions/be.yaml
This file is generated by the Ruby Holidays gem.
def self.defined_regions [:be] end
def self.holidays_by_month
def self.holidays_by_month { 0 => [{:function => "easter(year)", :function_arguments => [:year], :name => "Pâques", :regions => [:be]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Lundi de Pâques", :regions => [:be]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 39, :name => "Ascension", :regions => [:be]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 49, :name => "Pentecôte", :regions => [:be]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Lundi de Pentecôte", :regions => [:be]}], 1 => [{:mday => 1, :name => "Jour de l'an", :regions => [:be]}], 5 => [{:mday => 1, :name => "Fête du travail", :regions => [:be]}], 7 => [{:mday => 21, :name => "Fête nationale", :regions => [:be]}], 8 => [{:mday => 15, :name => "Assomption", :regions => [:be]}], 11 => [{:mday => 1, :name => "Toussaint", :regions => [:be]}, {:mday => 11, :name => "Armistice 1918", :regions => [:be]}], 12 => [{:mday => 25, :name => "Noël", :regions => [:be]}] } end