@Test
public void testIsStartOfYear() {

    CalendarUtils.startOfYear(midJune);
    assertTrue(CalendarUtils.isStartOfYear(midJune));
    midJune.add(Calendar.MILLISECOND, -1);
    Date changed = midJune.getTime();
    assertFalse(CalendarUtils.isStartOfYear(midJune));
    assertEquals("calendar must be unchanged", changed, midJune.getTime());
}