Consolidate Period accessors on TimeTypes.
Add gcd, gcdx, lcm, and mod definitions for Period types. These are pretty basic math functions that apply well to Periods and will allow us to reuse some machinery for intersect() on date ranges.
Add validation checks for all inputs to core constructors. Fixes #3. Performance hit is about 2x for DateTime, negligible for Date.
Some minor tweaks/cleanup to range code.
Test updates
Add dayname/monthname methods that take Integer arguments.
Add missing millisecond() for TimeType-Month/Year arithmetic
Add corresponding days() function for converting fixed size periods to # of days.
Major overhaul of ranges.jl code. This drastically simplifies what we're overloading from Base and gets rid of the nasty hack of the toobig() functions (finally...).
Another round of test updates
Formatting changes
Merge branch 'master' of git://github.com/quinnj/Dates.jl