Skip to content

gitPhate/NonWorkingDays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

NonWokingDays

Small static class to find holidays during year.
The library provides the Italian holdays, as it has been created for business purposes.
It also has a method for the Easter calculation.

Usage

static bool IsHoliday(DateTime day)

Given the day, the method returns true for Italian holiday, false otherwise.

static bool IList<DateTime> GetNonWorkingDays(int year)

Returns a list of the Italian holidays.

static DateTime EasterDay(int year)

Given the year, it returns a DateTime with the easter date.

About

Small static class to find holidays during year

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages