funtimes

Funtimes is a library for working with months, quarters and date ranges in Ruby.

Installation

$ gem install funtimes

Usage

Include DateRange in any class that has a start_date and end_date and you’ll now have access to months, quarters, days and the be able to find intersections of date ranges.

Date Range Specs: github.com/ignu/fun-times/blob/master/spec/date_range_spec.rb

Month Specs github.com/ignu/fun-times/blob/master/spec/month_spec.rb

Quarter Specs github.com/ignu/fun-times/blob/master/spec/quarter_spec.rb

Copyright © 2010 Len Smith.