Logo Search packages:      
Sourcecode: icu version File versions

UBool AnnualTimeZoneRule::getFinalStart ( int32_t  prevRawOffset,
int32_t  prevDSTSavings,
UDate result 
) const [virtual]

Gets the final time when this rule takes effect.

prevRawOffset The standard time offset from UTC before this rule takes effect in milliseconds.
prevDSTSavings The amount of daylight saving offset from the standard time.
result Receives the final time when this rule takes effect.
true if the start time is available. When false is returned, output parameter "result" is unchanged. ICU 3.8

Implements TimeZoneRule.

Definition at line 341 of file tzrule.cpp.

References FALSE, getStartInYear(), and MAX_YEAR.

Referenced by getPreviousStart().

    if (fEndYear == MAX_YEAR) {
        return FALSE;
    return getStartInYear(fEndYear, prevRawOffset, prevDSTSavings, result);

Generated by  Doxygen 1.6.0   Back to index