@Test
public void testCreateCalendarAtBeginningOfYear() {

    final Calendar calendar = TimeUtil.createCalendarAtBeginningOfYear(2005);
    assertNotNull(calendar);
    assertEquals(2005, calendar.get(Calendar.YEAR));
    assertEquals(0, calendar.get(Calendar.MONTH));
    assertEquals(1, calendar.get(Calendar.DAY_OF_MONTH));
    assertEquals(0, calendar.get(Calendar.HOUR_OF_DAY));
    assertEquals(0, calendar.get(Calendar.MINUTE));
    assertEquals(0, calendar.get(Calendar.SECOND));
}