@Test()
public void testGetString() {

    DateType.setDefaultOutputPattern("dd-MM-yyyy");
    assertEquals("15-03-2012", h1.getString());
    assertEquals("15-03-2012", h2.getString());
    assertNull(h3.getString());
}