Author: bayard Date: Tue Oct 15 06:54:25 2013 New Revision: 1532225 URL: http://svn.apache.org/r1532225 Log: Applying javadoc for DateParser from LANG-840 from Duncan Jones
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java?rev=1532225&r1=1532224&r2=1532225&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java Tue Oct 15 06:54:25 2013 @@ -86,13 +86,19 @@ public interface DateParser { /** * Parses text from a string to produce a Date. * + * @param source A <code>String</code> whose beginning should be parsed. + * @return a <code>java.util.Date</code> object + * @throws ParseException if the beginning of the specified string cannot be parsed. * @see java.text.DateFormat#parseObject(String) */ Object parseObject(String source) throws ParseException; /** * Parse a date/time string according to the given parse position. - * + * + * @param source A <code>String</code> whose beginning should be parsed. + * @param pos the parse position + * @return a <code>java.util.Date</code> object * @see java.text.DateFormat#parseObject(String, ParsePosition) */ Object parseObject(String source, ParsePosition pos);