This is the exercise for week 3
Print out any month between 1800-3000
like command "cal" in unix
Issues:
- Leap Years
- Days of the week
- Justifying text
- What day of the week does the month start on
Delivery: ruby cal.rb
Integration Tests:
asseert_equal(cal 2 2012, ruby cal.rb 2 2012`)
Print out any month between 1800-3000
It Hadles Correctly...
- Leap Years
- Days of the week
- Justifying text
- What day of the week does the month start on
I have also added
- Month names as arguments
- Short month names as arguments
- Ability to accept partial year and assume century
Input Options:
- Accept no arguments, and get current month
Display Features:
- Accept only year, Print whole Year
- Accept range of months and print range