/** * Parses the given date in the format specified by * draft-ietf-drums-msg-fmt-08 in the current TimeZone. * * @param text the formatted date to be parsed * @param pos the current parse position * @return Date the parsed date in a Date object * @since JavaMail 1.2 */ public Date parse(String text, ParsePosition pos) { return parseDate(text.toCharArray(), pos, isLenient()); }
/** * Parses the given date in the format specified by * draft-ietf-drums-msg-fmt-08 in the current TimeZone. * * @param text the formatted date to be parsed * @param pos the current parse position * @return Date the parsed date in a Date object * @since JavaMail 1.2 */ public Date parse(String text, ParsePosition pos) { return parseDate(text.toCharArray(), pos, isLenient()); }