/calendrical-ruby

Calendrical calculations

Primary LanguageRubyMIT LicenseMIT

Calendrical

Implementation in Ruby of CALENDRICA 3.0, which is the Common Lisp implementation of the functions described in the book:

Nachum Dershowitz, Edward M. Reingold "Calendrical Calculations"
Cambridge University Press; 3rd edition (December 10, 2007)
Paperback; ISBN-13: 9780521702386
E. M. Reingold and N. Dershowitz,
3rd ed., Cambridge University Press, 2008.

Some of the algorithms are from:

Jean Meeus "Astronomical Algorithms"
Willmann-Bell, Inc.; 2nd edition (1998 with corrections as of June 15, 2005);
ISBN: 0-943396-61-1

Installation

Add this line to your application's Gemfile:

gem 'calendrical'

And then execute:

$ bundle

Or install it yourself as:

$ gem install calendrical

Usage

This is an early work in progress - nowhere near ready for experimentation or use!

Contributing

  1. Fork it ( https://github.com/kipcole9/calendrical/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request