mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
Initialized fStartMode and fEndMode.
X-Trac-URL: https://ssl.icu-project.org/trac/ticket/66 git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@126 0a8b766c-62c9-45f9-954d-7f2943c9ead0
This commit is contained in:
parent
ea140ce420
commit
aab60ef1f0
1 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,8 @@ SimpleTimeZone::SimpleTimeZone(int32_t rawOffset, const UnicodeString& ID)
|
|||
endTime(0),
|
||||
startYear(0),
|
||||
dstSavings(U_MILLIS_PER_HOUR),
|
||||
startMode(DOM_MODE),
|
||||
endMode(DOM_MODE),
|
||||
useDaylight(FALSE)
|
||||
{
|
||||
setID(ID);
|
||||
|
@ -80,6 +82,8 @@ SimpleTimeZone::SimpleTimeZone(int32_t rawOffset, const UnicodeString& ID,
|
|||
this->endDayOfWeek = endDayOfWeek;
|
||||
this->endTime = endTime;
|
||||
this->dstSavings = U_MILLIS_PER_HOUR;
|
||||
this->startMode = DOM_MODE;
|
||||
this->endMode = DOM_MODE;
|
||||
|
||||
decodeRules(status);
|
||||
}
|
||||
|
@ -105,6 +109,8 @@ SimpleTimeZone::SimpleTimeZone(int32_t rawOffset, const UnicodeString& ID,
|
|||
this->endDayOfWeek = endDayOfWeek;
|
||||
this->endTime = endTime;
|
||||
this->dstSavings = dstSavings;
|
||||
this->startMode = DOM_MODE;
|
||||
this->endMode = DOM_MODE;
|
||||
|
||||
decodeRules(status);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue