@Test
public void testGetMonth() {

    Calendar calendar = createCalendar(2011, 8, 19, 18, 24, 53);
    Date date = calendar.getTime();
    assertEquals(9, TimeUtil.getMonth(date));
    calendar = createCalendar(1999, 5, 12, 11, 17, 38);
    date = calendar.getTime();
    assertEquals(6, TimeUtil.getMonth(date));
}