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

int32_t HebrewCalendar::handleGetLimit ( UCalendarDateFields  field,
ELimitType  limitType 
) const [protected, 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.

Implements Calendar.

Definition at line 488 of file hebrwcal.cpp.

                                                                                            {
    return LIMITS[field][limitType];
}


Generated by  Doxygen 1.6.0   Back to index