@Test
public void testFormat() {

    DateCache dc = new DateCache("yyyyMMdd", 86400000);
    String str = dc.formatFor(16067);
    assertEquals("20131228", str);
    String str1 = dc.formatFor(1);
    assertEquals("19700102", str1);
}