subelsky / broadcast_calendar

Ruby gem that returns the beginning and ending Gregorian (civil) dates for months in the broadcast_calendar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BroadcastCalendar Gem

This library returns the beginning and ending Gregorian (civil) dates for months in the broadcast calendar.

Installation

gem install broadcast_calendar

Usage

Dates are returned as a Range object.

> BroadcastCalendar.dates_for(5,2011)
=> Mon, 25 Apr 2011..Sun, 29 May 2011 

Problems? Questions?

Email mike@subelsky.com or file an issue on GitHub. Thanks!

About

Ruby gem that returns the beginning and ending Gregorian (civil) dates for months in the broadcast_calendar.

License:MIT License


Languages

Language:Ruby 100.0%