Logo Search packages:      
Sourcecode: icu version File versions

UBool TimeArrayTimeZoneRule::getStartTimeAt ( int32_t  index,
UDate result 
) const

Gets a start time at the index stored in this rule.

index The index of start times
result Receives the start time at the index
true if the index is within the valid range and and the result is set. When false, the output parameger "result" is unchanged. ICU 3.8

Definition at line 482 of file tzrule.cpp.

References FALSE, and TRUE.

Referenced by BasicTimeZone::getTimeZoneRulesAfter().

    if (index >= fNumStartTimes || index < 0) {
        return FALSE;
    result = fStartTimes[index];
    return TRUE;

Generated by  Doxygen 1.6.0   Back to index