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

UDate HebrewCalendar::internalGetDefaultCenturyStart ( void   ) const [private]

Returns the beginning date of the 100-year window that dates with 2-digit years are considered to fall within.

Definition at line 695 of file hebrwcal.cpp.

References fgSystemDefaultCentury, fgSystemDefaultCenturyStart, initializeSystemDefaultCentury(), and NULL.

Referenced by defaultCenturyStart().

    // lazy-evaluate systemDefaultCenturyStart
    UBool needsUpdate;
    UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate);

    if (needsUpdate) {

    // use defaultCenturyStart unless it's the flag value;
    // then use systemDefaultCenturyStart

    return fgSystemDefaultCenturyStart;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index