@Test
public void testStartOfMonth() {

    // want to be in the middle of a year
    int month = midJune.get(Calendar.MONTH);
    CalendarUtils.startOfMonth(midJune);
    assertEquals(month, midJune.get(Calendar.MONTH));
    midJune.add(Calendar.MILLISECOND, -1);
    assertEquals(month - 1, midJune.get(Calendar.MONTH));
}