@Test
public void testIsToday()
{

    java.util.Calendar cal = java.util.Calendar.getInstance();
    Date today = cal.getTime();
    cal.add( DATE, -1 );
    Date yesterday = cal.getTime();
    cal.add( DATE, +2 );
    Date tomorrow = cal.getTime();
    assertTrue( DateUtils.isToday( today ) );
    assertFalse( DateUtils.isToday( yesterday ) );
    assertFalse( DateUtils.isToday( tomorrow ) );
}