Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

andys/oz_holidays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oz_holidays - Ruby
------------------

gem install oz_holidays

require 'oz_holidays'

> OzHolidays.national.keys.grep /^2012/

=> ["2012-01-02", "2012-01-26", "2012-04-06", "2012-04-09", "2012-04-25",
    "2012-12-25", "2012-12-26"] 


> OzHolidays['NSW']['2013-04-25']

=> "ANZAC Day" 




Javascript / JSON
-----------------

See javascript/ directory or run OzHolidays.to_json



Contact the author
------------------

Andrew Snow <andrew@modulus.org>
Andys^ on irc.freenode.net

About

Australian Public Holidays in ruby and javascript

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages