T - the type of object this Parser producespublic interface Parser<T>
T parse(String text, Locale locale) throws ParseException
text - the text stringlocale - the current user localeParseException - when a parse exception occurs in a java.text parsing libraryIllegalArgumentException - when a parse exception occurs