Logo Search packages:      
Sourcecode: icu version File versions

AnnualTimeZoneRule::AnnualTimeZoneRule ( const UnicodeString name,
int32_t  rawOffset,
int32_t  dstSavings,
DateTimeRule dateTimeRule,
int32_t  startYear,
int32_t  endYear 
)

Constructs a AnnualTimeZoneRule with the name, the GMT offset of its standard time, the amount of daylight saving offset adjustment, the annual start time rule and the start/until years. The input DateTimeRule object is adopted by this object, therefore, the caller must not delete the object.

Parameters:
name The time zone name.
rawOffset The GMT offset of its standard time in milliseconds.
dstSavings The amount of daylight saving offset adjustment in milliseconds. If this ia a rule for standard time, the value of this argument is 0.
dateTimeRule The start date/time rule repeated annually.
startYear The first year when this rule takes effect.
endYear The last year when this rule takes effect. If this rule is effective forever in future, specify MAX_YEAR. ICU 3.8

Definition at line 190 of file tzrule.cpp.

: TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule),
  fStartYear(startYear), fEndYear(endYear) {
}


Generated by  Doxygen 1.6.0   Back to index