ICU-3009 remove unneeded clear()
X-SVN-Rev: 12428
This commit is contained in:
parent
db453aa5c7
commit
f9cf9c3af6
@ -546,7 +546,6 @@ Calendar::createInstance(TimeZone* zone, const Locale& aLocale, UErrorCode& succ
|
||||
}
|
||||
|
||||
// Now, reset calendar to default state:
|
||||
c->clear();
|
||||
c->adoptTimeZone(zone); // Set the correct time zone
|
||||
c->setTimeInMillis(getNow(), success); // let the new calendar have the current time.
|
||||
return c;
|
||||
|
Loading…
Reference in New Issue
Block a user