module FrenchCal

Defined in:

french_cal.cr
french_cal/version.cr

Constant Summary

DAYS = ["Primidi8", "Duodi", "Tridi", "Quartidi", "Quintidi", "Sextidi", "Septidi", "Octidi", "Nonidi", "Décadi"] of ::String
DAYS_BY_CLASSIC_YEAR = DAYS_BY_YEAR_BASE + SANCULOTTIDES_DAYS.size
DAYS_BY_MONTH = DECADES_COUNT * DAYS.size
DAYS_BY_SEXTILE_YEAR = DAYS_BY_YEAR_BASE + SANCULOTTIDES_SEXTILE_DAYS.size
DAYS_BY_YEAR_BASE = DAYS_BY_MONTH * MONTHS.size
DECADES_COUNT = 3
FIRST_DAY = ::Time.new(1792, 9, 22)
HOUR = 1.day / 10.0
MINUTES = HOUR / 10.0
MONTHS = ["Vendémiaire", "Brumaire", "Frimaire", "Nivôse", "Pluviôse", "Ventôse", "Germinal", "Floréal", "Prairial", "Messidor", "Thermidor", "Fructidor"] of ::String
SANCULOTTIDES_DAYS = ["vertu", "génie", "travail", "opinion", "récompenses"] of ::String
SANCULOTTIDES_SEXTILE_DAYS = SANCULOTTIDES_DAYS + (["révolution"] of ::String)
SECONDS = MINUTES / 10.0
SEXTILE_EVERY = 4
SEXTILE_FIRST = 0
TERMINASONS = ["-aire", "-ose", "-al", "-idor"] of ::String
VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.fnow #

[View source]
def self.is_sextile?(year : Int) #

[View source]