This is a project for the Nashville Software School, in which I'm building a Ruby command line program that can print out the calendar (a la the cal command) of a given month and/or year.
This project is incomplete
- Write integration tests for the several edgecases that deal with leap year integration.
- Utilize sample cal implementation to make tests pass.
- Write methods that will begin to print out the necessary items in a calendar.
- Write tests for these methods.
- Make them pass.
- Build Year class for full year integration with cal.
- Write methods to use existing Month class to build the Year class.
- Write the tests and make them pass.
- Refactor
- List of methods used for Month Class
- initialize method
- month_header method
- days_header method
- zeller method
- leap_year? method
- numbers_in_month method
- nil_units method replaces blank space before first date of month
- month_array_with_nil_units
- all_weeks_in_month_array
- format_month
- format_weeks
- get_week(n)
- format_calendar
- List of methods used for Year Class
- initialize method
- year_header method
- months_header method
- format_month_header method
- days_header method
- create_months
- format_year