update javadoc for DateParser and DatePrinter
This commit is contained in:
parent
d2fb3b0865
commit
6f318c10aa
|
@ -24,8 +24,12 @@ import java.util.Locale;
|
||||||
import java.util.TimeZone;
|
import java.util.TimeZone;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>DateParser is the "missing" interface for the parsing methods of
|
* DateParser is the "missing" interface for the parsing methods of
|
||||||
* {@link java.text.DateFormat}.</p>
|
* {@link java.text.DateFormat}. You can obtain an object implementing this
|
||||||
|
* interface by using one of the FastDateFormat factory methods.
|
||||||
|
* <p>
|
||||||
|
* Warning: Since binary compatible methods may be added to this interface in any
|
||||||
|
* release, developers are not expected to implement this interface.
|
||||||
*
|
*
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
|
@ -66,6 +70,8 @@ public interface DateParser {
|
||||||
* @return true, if source has been parsed (pos parsePosition is updated); otherwise false (and pos errorIndex is updated)
|
* @return true, if source has been parsed (pos parsePosition is updated); otherwise false (and pos errorIndex is updated)
|
||||||
* @throws IllegalArgumentException when Calendar has been set to be not lenient, and a parsed field is
|
* @throws IllegalArgumentException when Calendar has been set to be not lenient, and a parsed field is
|
||||||
* out of range.
|
* out of range.
|
||||||
|
*
|
||||||
|
* @since 3.5
|
||||||
*/
|
*/
|
||||||
boolean parse(String source, ParsePosition pos, Calendar calendar);
|
boolean parse(String source, ParsePosition pos, Calendar calendar);
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,12 @@ import java.util.Locale;
|
||||||
import java.util.TimeZone;
|
import java.util.TimeZone;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>DatePrinter is the "missing" interface for the format methods of
|
* DatePrinter is the "missing" interface for the format methods of
|
||||||
* {@link java.text.DateFormat}.</p>
|
* {@link java.text.DateFormat}. You can obtain an object implementing this
|
||||||
|
* interface by using one of the FastDateFormat factory methods.
|
||||||
|
* <p>
|
||||||
|
* Warning: Since binary compatible methods may be added to this interface in any
|
||||||
|
* release, developers are not expected to implement this interface.
|
||||||
*
|
*
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue