@Test
public void testIsBetween() {

    Assert.assertTrue(DateUtil.isBetween(DateUtil.getDayBegin(),
            DateUtil.getDayEnd()));
    Assert.assertFalse(DateUtil.isBetween(
            DateUtil.getDayBegin(new Date(0L)),
            DateUtil.getDayEnd(new Date(100_000L))));
}