Logo Search packages:      
Sourcecode: icu version File versions

AnnualTimeZoneRule::AnnualTimeZoneRule ( const UnicodeString name,
int32_t  rawOffset,
int32_t  dstSavings,
const 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 is copied by this constructor, so the caller remains responsible for deleting the object.

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 180 of file tzrule.cpp.

Referenced by clone().

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

Generated by  Doxygen 1.6.0   Back to index