Use GregorianCalendar for quarter calculation
Adds tests for quarter diff