Logo Search packages:      
Sourcecode: icu version File versions  Download package

virtual int32_t Calendar::handleGetLimit ( UCalendarDateFields  field,
ELimitType  limitType 
) const [protected, pure virtual]

Subclass API for defining limits of different types. Subclasses must implement this method to return limits for the following fields:

UCAL_ERA
 UCAL_YEAR
 UCAL_MONTH
 UCAL_WEEK_OF_YEAR
 UCAL_WEEK_OF_MONTH
 UCAL_DATE (DAY_OF_MONTH on Java)
 UCAL_DAY_OF_YEAR
 UCAL_DAY_OF_WEEK_IN_MONTH
 UCAL_YEAR_WOY
 UCAL_EXTENDED_YEAR

Parameters:
field one of the above field numbers
limitType one of MINIMUM, GREATEST_MINIMUM, LEAST_MAXIMUM, or MAXIMUM

For internal use only.

Implemented in BuddhistCalendar, CECalendar, ChineseCalendar, EthiopicCalendar, HebrewCalendar, IndianCalendar, IslamicCalendar, JapaneseCalendar, PersianCalendar, TaiwanCalendar, and GregorianCalendar.

Referenced by getLimit().


Generated by  Doxygen 1.6.0   Back to index