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

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

Calculate the limit for a specified type of limit and field

For internal use only.

Reimplemented from CECalendar.

Definition at line 129 of file ethpccal.cpp.

References CECalendar::handleGetLimit(), isAmeteAlemEra(), and UCAL_ERA.

{
    if (isAmeteAlemEra() && field == UCAL_ERA) {
        return 0; // Only one era in this mode, era is always 0
    }
    return CECalendar::handleGetLimit(field, limitType);
}


Generated by  Doxygen 1.6.0   Back to index