public void testDateConverter() {
    System.out.println("** testDateConverter **");
    final int year = 2008;
    final int dayOfMonth = 22;
    final int hour = 7;
    final int minute = 3;
    final CycNaut cycDate = new CycNaut(DateConverter.MINUTE_FN, minute,
            new CycNaut(DateConverter.HOUR_FN, hour,
            new CycNaut(DateConverter.DAY_FN, dayOfMonth,
            new CycNaut(DateConverter.MONTH_FN, DateConverter.APRIL,
            new CycNaut(DateConverter.YEAR_FN, year)))));
    final Calendar calendar = Calendar.getInstance();
    calendar.clear();
    calendar.set(year, Calendar.APRIL, dayOfMonth, hour, minute);
    final Date javaDate = calendar.getTime();
    try {
      assertTrue(DateConverter.isCycDate(cycDate));
      assertEquals(javaDate, DateConverter.parseCycDate(cycDate));
      assertEquals(cycDate, DateConverter.toCycDate(javaDate));
      assertEquals(cycDate, DataType.DATE.convertJavaToCyc(javaDate));
      assertEquals(javaDate, DataType.DATE.convertCycToJava(cycDate));
    } catch (Exception e) {
      Assert.fail(e.getMessage());
    }
    System.out.println("** testDateConverter OK **");

  }