New Zealand Public Holidays
A simple gem that returns Date objects for holidays
Need to figure out how many working hours are in a date range? Need to calculate around holidays, on-call schedules, etc? Use this gem!
Make holidays calendars from rules, based on the gem Feriados by Sebastian Rabuini
Calculate Rhode Island state holidays
Simple date operations to determine weekends, holidays, and esp. business days. Based on the Holidays Gem.
Holiday calculations using concrete classes
Given a list of resources (developers), a Bugzilla named query and a FATE relationtree, this tool generates a TaskJuggler overview of current work assigned to developers. Additionally, it checks present.suse.de for vacations and public holidays.
installed dependencies.
HolidayList
A utility to tell whether a specific date is a Hong Kong's holiday
A Simple Holidays & Events Handler Gem
Enterprisey extensions to Ruby's Time class allowing you to quickly discover whether a time is a holiday, or after hours.
Fetches and compiles school holidays and national days off gouvernement data into a JSON file
# HebCal Determines the date of Passover for a Gregorian year. Also includes boolean functions to check whether a date is a Jewish holiday, Fast Day or Rosh Chodesh. Supported languages: Javascript Ruby ## Installation as a Ruby gem Add this line to your application's Gemfile: gem 'hebcal' And then execute: $ bundle Or install it yourself as: $ gem install hebcal ## General notes 1. 3- and 4-digit years are supported, so the domain of valid years is 100-9999. For years before the Gregorian transition (1582), the transition is ignored and the proleptic Gregorian calendar is used. ## Ruby Version ### To Run Unit Tests $ rake test ### To Use #### Calculating the date of Passover 1. At the top of the file where the class is defined, declare `require `hebcal`` 1. In the class, declare `include HebCal::Passover` 1. `WhenIsPesach(yyyy)` returns a Ruby Time object representing midnight on the first day of passover, where `yyyy` is the Gregorian year Note that the date returned is the first day of Pesach, not the day on which Pesach begins at sunset. #### Finding out if a date is a holiday 1. At the top of the file where the class is defined, declare `require `hebcal`` 1. In the desired class, declare `include HebCal::Holidays` 1. `IsPesach(d)` returns true iff d is a Ruby Time object representing a date during Pesach. Note that the day on which Pesach begins at sunset returns false. 1. The following functions work in a similar way to `IsPesach()`: 1. `IsShavuot()`, `IsRoshHashanah()`, `IsYomKippur()`, `IsSukkot()` 1. `IsRegel()`: `IsPesach() || IsShavuot || IsSukkot()` 1. `IsMoed()`: Hol HaMoed Pesach or Hol HaMoed Sukkot 1. `IsYomTov()`: `IsPesach() || IsShavuot() || IsRoshHashanah() || IsSukkot()) && !IsMoed()` Note that IsYomTov(yk) == false, where yk is the date of Yom Kippur. 1. `IsPurim()`, `IsHanuka()` 1. `Is10Tevet()`, `IsTaanitEster()`, `Is17Tamuz()`, `Is9Av()`, `IsFastOfGedalia()` 1. `IsTaanit()`: `Is10Tevet() || IsTaanitEster() || Is17Tamuz() || Is9Av() || IsFastOfGedalia()` 1. `IsRoshChodesh()` ## Javascript Version ### To Run Unit Tests 1. Open index.html in a browser. You should see a lot of green text saying that tests passed. If not, javascript may not be enabled in your browser. Scroll down to the bottom and verify that the summary says all tests passed. ### To Use 1. Include the javascript source file in your HTML page 1. If using Ruby On Rails, you can declare `//= require hebcal` at the top of a javascript or coffeescript file 1. To include the script explicitly in an html file, `<script src="app/assets/javascripts/hebcal/passover.js" type="text/javascript"></script>` 1. All date formats are YYYY-mm-dd, where month is index from 1 (i.e. 1 == January, not the usual javascript index of 0 == January!) and YYYY is the Gregorian year. 1. $.whenIsPesach(yyyy) returns a date in the above format, where yyyy is the Gregorian year. Note that the date returned is the first day of Pesach, not the day on which Pesach begins at sunset. 1. $.isPesach(d) returns true iff d is a date during Pesach, in the above format. Note that the day on which Pesach begins at sunset returns false. 1. The following functions work in a similar way to $.isPesach(): 1. $.isShavuot(), $.isRoshHashanah(), $.isYomKippur(), $.isSukkot(); 1. $.isRegel(): $.isPesach() || $.isShavuot() || $.isSukkot(); 1. $.isMoed(): Hol HaMoed Pesach or Hol HaMoed Sukkot; 1. $.isYomTov(): ($.isPesach() || $.isSukkot() || $.isShavuot() || $.isRoshHashanah()) && !$.isMoed(); Note that isYomTov(yk) == false, where yk is the date of Yom Kippur. 1. `$.isPurim()`, `$.isHanuka()` 1. `$.isRoshChodesh()` 1. `$.is10Tevet()`, `$.isTaanitEster()`, `$.is17Tamuz()`, `$.is9Av()`, `$.isFastOfGedalia()` 1. `$.isTaanit()`: `$.is10Tevet() || $.isTaanitEster() || $.is17Tamuz() || $.is9Av() || $.isFastOfGedalia()`
A Ruby gem for working with Brazilian holidays.
A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!
Have you ever wanted to do things like "6.business_days.from_now" and have weekends and holidays taken into account? Now you can.
行政機関の休日を計算する。
Scrape holidays for Dällikon from the school's official homepage
Perfect for this holidays. Taken from OSXdaily.com
This is a gem that generates dummy variables like 'if holiday then 1 else 0' for each date.
A simple gem use to get holiday
Helper class for determining which days are public holidays in different countries, calcluating the working days between two dates, etc
Gem for display holidays in China between 2012 to 2016
Holidays according to official calendar.
Get more out of your holidays! Use bridge days smartly.
This library provides a list of public holidays in Vietnam during the year. Including solar and lunar holidays.
The Gem for respond about current date is hoday or not
A simple way to define your holiday settings
A simple gem to handle holidays in Colombia