/** * parse a String and convert it into an java.lang.Object * * @param str the string to parse * @return an Object represented by the string * @throws ParseException a parse exception is thrown if the string to parse does not follow the * right format (see the description of this class) */ public static Object parse(String str) throws ParseException { return parseDate(str); }
/** * parse a String and convert it into an java.lang.Object * @param str the string to parse * @return an Object represented by the string * @throws ParseException a parse exception is thrown if the string to parse * does not follow the right format (see the description * of this class) */ public static Object parse(String str) throws ParseException { return parseDate(str); }
Date.parseDate(value); return DATE_TYPE; } catch (ParseException px) {
Date.parseDate(value); return DATE_TYPE;
Date temp = Date.parseDate(value.toString()) ; dateTarget.setCentury(temp.getCentury()); dateTarget.setYear(temp.getYear());
Date temp = Date.parseDate(value.toString()); dateTarget.setCentury(temp.getCentury()); dateTarget.setYear(temp.getYear());