0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Library to parse UK bank holidays from https://www.gov.uk/bank-holidays/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.8.3
~> 3.12

Runtime

 Project Readme

Simple gem to parse UK bank holidays from https://www.gov.uk/bank-holidays/.

Usage

Loop through all bank holidays:

BankHolidays.all.each do |h|
  puts h[:date] # => 2012-12-25
  puts h[:name] # => Christmas day
end

Find the next bank holiday:

BankHolidays.next

Dependencies

Requires the httparty and icalendar gems.