Nager.Date - C# Public holiday calculation. Please star (★) this project!

  •        14

C# Public holiday calculation. Please star (★) this project!



Related Projects

yasumi - Yasumi is an easy PHP Library for calculating national holidays

  •    PHP

Yasumi (Japanese for 'Holiday'「休み」) is an easy PHP library to help you calculate the dates and names of holidays and other special celebrations from various countries/states. Many services exist on the internet that provide holidays, however are either not free or offer only limited information. In addition, no complete PHP library seems to exist today that covers a wide range of holidays and countries, except maybe PEAR's Date_Holidays which unfortunately hasn't been updated for a long time. The goal of Yasumi is to be powerful while remaining lightweight, by utilizing PHP native classes wherever possible. Yasumi's calculation is provider-based (i.e. by country/state) so it's easy to add new holiday providers that calculate holidays. The methods of Yasumi can be used to get a holiday's date and name in various languages.

Jollyday - A holiday API

  •    Java

This API calculates the holidays for a given year, country and region or lets you provide your own holiday rules. Uses XML files for storing the holiday data. Uses JODA date/time API. Supports Europe, North/South America, Australia, Russia, India ...

BusyHoliday - Making Outlook's Calendar Busy for Holidays


When users add holidays to their Outlook calendar these are added as an all day event. However, these are added as free time. With users in other countries, if they were to invite a user in a country with a public holiday, they won't be able to see that the user is on a pu...

holidays - A collection of Ruby methods to deal with statutory and other holidays

  •    Ruby

A set of functions to deal with holidays in Ruby. Extends Ruby's built-in Date class and supports custom holiday definition lists.

libhdate, hcal and hdate

  •    C

libhdate is a C library for Hebrew calendar information, including dates, holidays, and times of day. The package includes: hcal and hdate, command line programs for the Hebrew calendar, dates and times of day information. Also included are library bindings to other programming languages (C++, pascal, python, perl, ruby, php). The api is also of general use for calculating solar times anywhere on Earth for any astronomical date (julian day number).

DateTimeExtensions - This project is a merge of several common DateTime operations on the form of extensions to System

  •    CSharp

This project is a merge of several common DateTime operations in the form of extensions to System.DateTime, including natural date difference text (precise and human rounded), holidays and working days calculations on several culture locales.The first defines which day of the week is a working day (by default, working days are all week days except weekends). The last does the same as the first, but it's also able to check for any holiday. By default, no holidays are defined, unless there is a IWorkingDayCultureInfo implemented for the current thread CultureInfo.

ObjectLab Kit

  •    Java

A set of modules to handle common financial functions. The first module is Date Calculator which handles holidays and weekends. A set of rules are implemented to deal with days falling on a holiday: Forward, Backward, Modified Forward, Modified Backward

Holiday Calendar

  •    CSharp

This project contains a holiday calendar user control to be used in Windows Form applications.



xml-holidays introduces an XML document type for expressing international holidays and it also provides actual holiday definitions for many countries.

Date - Maths


Date - Maths is similar to Date Calculation in Windows 7 Calculator. You can use Date - Maths to calculate the difference between two dates or to add or subtract days from a specified date. It has a very attractive UI. Totally 16 Color Themes which you can switch in...


  •    Ruby

A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!

Joda Time - Java Date and Time API

  •    Java

Joda-Time provides a quality replacement for the Java date and time classes. The standard date and time classes prior to Java SE 8 are poor. By tackling this problem head-on, Joda-Time has become the de facto standard date and time library for Java. The design allows for multiple calendar systems, while still providing a simple API. The 'default' calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included.

Date Calculator


Date Calculator is a small desktop utility developed using Windows Forms .NET technology. This utility is analogous to the "Date calculation" module in Windows 7 Calculator. This utility can be used for numerous date related calculations like calculating age or work experience.

Chronology - Building a better date/time library for Swift

  •    Swift

Chronology is an attempt to build a better date and time API for Swift on top of the constructs provided by Foundation. Foundation.framework has one of the absolute best and most capable APIs available to any developer on any platform. However, it comes with a heavy price in the form of cognitive load. Too many developers do too many incorrect things. Over the years, Foundation has gained more and more convenience methods via the Calendar type, but fundamental issues remain.

pal calendar

  •    C

Pal is a color, command-line calendar similar to gcal with support for displaying events and holidays. It supports many types of recurring events and has an easy to use interface for adding new events.

Python Date Utilities

  •    Python

Python module to convert dates between different calendar systems (Gregorian, Julian, ISO, Hebrew, Islamic, Mayan, Indian Civil, Baha'i, Persian, French Republican). Additionally, a module exists for retrieving the Gergorian dates for US holidays


  •    Java

Program to calculate Easter date for any year. It can also display palm Sunday, Ash Wedenesday, Lent and other dates. In the future, it will be a complete holiday calendar.

react-native-calendar-events - React Native Module for iOS and Android Calendar Events

  •    Java

A React Native module to help access and save events to iOS and Android calendars. This package assumes that you already have a React Native project or are familiar with React Native. If not, checkout the official documentation for more details about getting started with React Native.


  •    C++

Multilanguage calculator for movable holidays (eg. Eastern) on the Sharp Zaurus.

CompactCalendarView - An android library which provides a compact calendar view much like the one used in google calenders

  •    Java

CompactCalendarView is a simple calendar view which provides scrolling between months. It's based on Java's Date and Calendar classes. It provides a simple api to query for dates and listeners for specific events. For example, when the calendar has scrolled to a new month or a day has been selected. Still under active development. Please raise an issue of the requirement so that a discussion can take before any code is written, even if you intend to raise a pull request. Please see setup for testing.