Coder Social home page Coder Social logo

nss-cal's Introduction

NSS Cal Project


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


Phase 1 - complete

  • Write integration tests for the several edgecases that deal with leap year integration.
  • Utilize sample cal implementation to make tests pass.

Phase 2 - complete

  • Write methods that will begin to print out the necessary items in a calendar.
  • Write tests for these methods.
  • Make them pass.

Phase 3 - incomplete

  • 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
  1. initialize method
  2. month_header method
  3. days_header method
  4. zeller method
  5. leap_year? method
  6. numbers_in_month method
  7. nil_units method replaces blank space before first date of month
  8. month_array_with_nil_units
  9. all_weeks_in_month_array
  10. format_month
  11. format_weeks
  12. get_week(n)
  13. format_calendar
    List of methods used for Year Class
  1. initialize method
  2. year_header method
  3. months_header method
  4. format_month_header method
  5. days_header method
  6. create_months
  7. format_year

nss-cal's People

Contributors

cspriggs220 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.