@nesto-software/moment-holiday-germany
Version:
The german locale for moment-holiday.
16 lines (15 loc) • 802 B
TypeScript
import { AbstractHolidayDefinitionFactory, Country } from "@nesto-software/moment-holiday-core";
/**
* Creates holiday definitions for germany.
*/
export declare class GermanHolidayDefinitionFactory extends AbstractHolidayDefinitionFactory {
private static readonly COUNTRY_NAME;
private static readonly COUNTRY_ABBREVIATION;
getCountryName(): string;
getCountryAbbreviation(): string;
createCountry(): Country;
}
export declare type GermanCountryName = "Germany";
export declare type GermanCountryAbbrevition = "DE";
export declare type GermanStateAbbreviation = "BW" | "BY" | "ST" | "TH" | "NW" | "BE" | "HH" | "MV" | "BB" | "HB" | "HE" | "NI" | "RP" | "SL" | "SN" | "SH";
export declare type GermanRegionAbbreviation = "BY_AUG" | "BY_CATHOLIC" | "TH_CATHOLIC" | "SN_CATHOLIC";