Module: Holidays::FR

Defined in:
lib/generated_definitions/fr.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/fr.yaml

All the definitions are available at github.com/holidays/holidays

Class Method Summary collapse

Class Method Details

.custom_methodsObject



33
34
35
36
37
# File 'lib/generated_definitions/fr.rb', line 33

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



9
10
11
# File 'lib/generated_definitions/fr.rb', line 9

def self.defined_regions
  [:fr_a, :fr_m, :fr]
end

.holidays_by_monthObject



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/generated_definitions/fr.rb', line 13

def self.holidays_by_month
  {
            0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Vendredi saint", :regions => [:fr_a, :fr_m]},
        {:function => "easter(year)", :function_arguments => [:year], :type => :informal, :name => "Pâques", :regions => [:fr]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Lundi de Pâques", :regions => [:fr]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 39, :name => "Ascension", :regions => [:fr]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 49, :name => "Pentecôte", :regions => [:fr]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 50, :type => :informal, :name => "Lundi de Pentecôte", :regions => [:fr]}],
  1 => [{:mday => 1, :name => "Jour de l'an", :regions => [:fr]}],
  5 => [{:mday => 1, :name => "Fête du travail", :regions => [:fr]},
        {:mday => 8, :name => "Victoire 1945", :regions => [:fr]}],
  7 => [{:mday => 14, :name => "Fête nationale", :regions => [:fr]}],
  8 => [{:mday => 15, :name => "Assomption", :regions => [:fr]}],
  11 => [{:mday => 1, :name => "Toussaint", :regions => [:fr]},
        {:mday => 11, :name => "Armistice 1918", :regions => [:fr]}],
  12 => [{:mday => 25, :name => "Noël", :regions => [:fr]},
        {:mday => 26, :name => "Saint-Étienne", :regions => [:fr_a, :fr_m]}]
  }
end