ICU-3016 fix GregorianCalendar::getActualMinimum to be consistent with base class
X-SVN-Rev: 14618
This commit is contained in:
parent
838ba76877
commit
63985ec991
@ -381,10 +381,21 @@ public:
|
||||
* Return the minimum value that this field could have, given the current date.
|
||||
* For the Gregorian calendar, this is the same as getMinimum() and getGreatestMinimum().
|
||||
* @param field the time field.
|
||||
* @param status
|
||||
* @return the minimum value that this field could have, given the current date.
|
||||
* @draft ICU 2.6.
|
||||
* @deprecated ICU 2.6. Use getActualMinimum(UCalendarDateFields field) instead. (Added to ICU 3.0 for signature consistency)
|
||||
*/
|
||||
int32_t getActualMinimum(UCalendarDateFields field) const;
|
||||
int32_t getActualMinimum(EDateFields field, UErrorCode& status) const;
|
||||
|
||||
/**
|
||||
* Return the minimum value that this field could have, given the current date.
|
||||
* For the Gregorian calendar, this is the same as getMinimum() and getGreatestMinimum().
|
||||
* @param field the time field.
|
||||
* @param status error result.
|
||||
* @return the minimum value that this field could have, given the current date.
|
||||
* @draft ICU 3.0
|
||||
*/
|
||||
int32_t getActualMinimum(UCalendarDateFields field, UErrorCode &status) const;
|
||||
|
||||
/**
|
||||
* Return the maximum value that this field could have, given the current date.
|
||||
|
Loading…
Reference in New Issue
Block a user