ICU-10651 DateFormat::getCalendar() not intended to get the results of parse

X-SVN-Rev: 35388
This commit is contained in:
Steven R. Loomis 2014-03-08 01:18:23 +00:00
parent 5bc87de353
commit 4cfdb4a00d

View File

@ -631,6 +631,9 @@ public:
/**
* Gets the calendar associated with this date/time formatter.
* The calendar is owned by the formatter and must not be modified.
* Also, the calendar does not reflect the results of a parse operation.
* To parse to a calendar, use {@link #parse(const UnicodeString&, Calendar& cal, ParsePosition&) const parse(const UnicodeString&, Calendar& cal, ParsePosition&)}
* @return the calendar associated with this date/time formatter.
* @stable ICU 2.0
*/