Logo Search packages:      
Sourcecode: icu version File versions

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

Gets the final time when this rule takes effect.

Parameters:
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.
Returns:
true if the start time is available. When false is returned, output parameter "result" is unchanged. ICU 3.8

Implements TimeZoneRule.

Definition at line 532 of file tzrule.cpp.

References FALSE, NULL, and TRUE.

                                                          {
    if (fNumStartTimes <= 0 || fStartTimes == NULL) {
        return FALSE;
    }
    result = getUTC(fStartTimes[fNumStartTimes - 1], prevRawOffset, prevDSTSavings);
    return TRUE;
}


Generated by  Doxygen 1.6.0   Back to index