private static void doOne(String s) {
    try {
      System.out.println("\nString = (" + s + ")");
      DateType d = new DateType(s, null, null);
      System.out.println("DateType = (" + d.toString() + ")");
      System.out.println("Date = (" + d.getDate() + ")");
    } catch (java.text.ParseException e) {
      e.printStackTrace();
    }
  }
private static void doOne(String s) {
    try {
      System.out.println("\nString = (" + s + ")");
      DateType d = new DateType(s, null, null);
      System.out.println("DateType = (" + d.toString() + ")");
      System.out.println("Date = (" + d.getDate() + ")");
    } catch (java.text.ParseException e) {
      e.printStackTrace();
    }
  }
private static void doOne ( String s ) { try { System . out . println ( "\nString = (" + s + ")" ) ; DateType d = new DateType ( s , null , null ) ; System . out . println ( "DateType = (" + d . toString ( ) + ")" ) ; System . out . println ( "Date = (" + d . getDate ( ) + ")" ) ; } catch ( java . text . ParseException e ) { e . printStackTrace ( ) ; } }
test
test