Skip to content

SmallhillCZ/czech-holidays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Czech Holidays

A function that lists public holidays in the Czech Republic in the specified year.

Usage

JavaScript

const { CzechHolidays } = require("czech-holidays");

const holidays2020 = CzechHolidays(2020);

TypeScript

import { CzechHolidays, HolidayDate } from "czech-holidays";

const holidays2020: HolidayDate[] = CzechHolidays(2020);

Output

[
  {"d": 1, "m": 1},
  {"d": 10, "m": 4},
  {"d": 13, "m": 4},
  {"d": 1, "m": 5},
  {"d": 8, "m": 5},
  {"d": 5, "m": 7},
  {"d": 6, "m": 7},
  {"d": 28, "m": 9},
  {"d": 28, "m": 10},
  {"d": 17, "m": 11},
  {"d": 24, "m": 12},
  {"d": 25, "m": 12},
  {"d": 26, "m": 12}
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published