BellevueCollege / CtcApi

A standardized, reusable, open source code library developed by and for the Community & Technical Colleges of Washington State in the creation of their own software applications.
Other
9 stars 3 forks source link

Implement simple YearQuarter arithmetic #18

Open cmshawns opened 10 years ago

cmshawns commented 10 years ago

The YearQuarter class already includes an Add() method. It should also have a corresponding .Subtract() method as well as the ability to specify how many quarters to add/subtract:

.Add()
.Add(short quarters)
.Subtract()
.Subtract(short quarters)