Logo Search packages:      
Sourcecode: icu version File versions

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

Gets the very first 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 very first 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 521 of file tzrule.cpp.

References FALSE, NULL, and TRUE.

Referenced by BasicTimeZone::getTimeZoneRulesAfter().

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

Generated by  Doxygen 1.6.0   Back to index