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

int32_t HebrewCalendar::handleGetExtendedYear (  ) [protected, virtual]

Return the extended year defined by the current fields. This will use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such as UCAL_ERA) specific to the calendar system, depending on which set of fields is newer.

the extended year

Implements Calendar.

Definition at line 611 of file hebrwcal.cpp.

References Calendar::internalGet(), Calendar::newerField(), UCAL_EXTENDED_YEAR, and UCAL_YEAR.

    int32_t year;
        year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1
    } else {
        year = internalGet(UCAL_YEAR, 1); // Default to year 1
    return year;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index