@Test
 public void testAsSqlDate() {
   java.sql.Date date = a.asSqlDate();
   Calendar calendar = createCalendar(date);
   assertYMDHMS(calendar);
 }
 @Test
 public void testAsDate() {
   Date date = a.asDate();
   Calendar calendar = createCalendar(date);
   assertYMDHMS(calendar);
 }
 @Test
 public void testAsCalendar() {
   assertYMDHMS(a.asCalendar());
 }
 @Test
 public void testCalendarConstructor() {
   Timestamp b = new Timestamp(a.asCalendar());
   Assert.assertEquals(b, a);
   assertYMDHMS(b.asCalendar());
 }