Funtimes is a library for working with months, quarters and date ranges in Ruby.
$ gem install funtimes
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
Copyright © 2010 Len Smith.