Esempio n. 1
0
 // -----------------------------------------------------------------------
 // firstMonthOfQuarter()
 // -----------------------------------------------------------------------
 @Test
 public void test_firstMonthOfQuarter() {
   assertEquals(Month.JANUARY.firstMonthOfQuarter(), Month.JANUARY);
   assertEquals(Month.FEBRUARY.firstMonthOfQuarter(), Month.JANUARY);
   assertEquals(Month.MARCH.firstMonthOfQuarter(), Month.JANUARY);
   assertEquals(Month.APRIL.firstMonthOfQuarter(), Month.APRIL);
   assertEquals(Month.MAY.firstMonthOfQuarter(), Month.APRIL);
   assertEquals(Month.JUNE.firstMonthOfQuarter(), Month.APRIL);
   assertEquals(Month.JULY.firstMonthOfQuarter(), Month.JULY);
   assertEquals(Month.AUGUST.firstMonthOfQuarter(), Month.JULY);
   assertEquals(Month.SEPTEMBER.firstMonthOfQuarter(), Month.JULY);
   assertEquals(Month.OCTOBER.firstMonthOfQuarter(), Month.OCTOBER);
   assertEquals(Month.NOVEMBER.firstMonthOfQuarter(), Month.OCTOBER);
   assertEquals(Month.DECEMBER.firstMonthOfQuarter(), Month.OCTOBER);
 }