Author: [email protected] Date: Tue Jul 14 10:17:53 2009 New Revision: 5732 Modified: trunk/user/src/com/google/gwt/i18n/client/DateTimeFormat.java
Log: Clarification in the javadoc for default values in DateTimeFormat. patch by: tomo review by: shanjianli, ajr Modified: trunk/user/src/com/google/gwt/i18n/client/DateTimeFormat.java ============================================================================== --- trunk/user/src/com/google/gwt/i18n/client/DateTimeFormat.java (original) +++ trunk/user/src/com/google/gwt/i18n/client/DateTimeFormat.java Tue Jul 14 10:17:53 2009 @@ -246,9 +246,10 @@ * * <h3>Parsing Dates and Times</h3> * <p> - * This implementation can parse partial date/time. Current date will be used to - * fill in an unspecified date part. 00:00:00 will be used to fill in an - * unspecified time. + * The pattern does not need to specify every field. If the year, month, or + * day is missing from the pattern, the corresponding value will be taken from + * the current date. If the hour, minute, or second is missing, the value + * defaults to zero. * </p> * * <p> --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
