Home
last modified time | relevance | path

Searched refs:hostZone (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/i18n/
Dtimezone.cpp480 TimeZone* hostZone = NULL; in detectHostTimeZone() local
491 hostZone = createSystemTimeZone(hostStrID); in detectHostTimeZone()
499 if (hostZone != NULL && rawOffset != hostZone->getRawOffset() in detectHostTimeZone()
504 delete hostZone; in detectHostTimeZone()
505 hostZone = NULL; in detectHostTimeZone()
510 if (hostZone == NULL && hostDetectionSucceeded) { in detectHostTimeZone()
511 hostZone = new SimpleTimeZone(rawOffset, hostStrID); in detectHostTimeZone()
519 if (hostZone == NULL) { in detectHostTimeZone()
522 hostZone = TimeZone::getUnknown().clone(); in detectHostTimeZone()
525 return hostZone; in detectHostTimeZone()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp141 TimeZone* hostZone = TimeZone::detectHostTimeZone(); in TestGenericAPI() local
142 int32_t hostZoneRawOffset = hostZone->getRawOffset(); in TestGenericAPI()
149 delete hostZone; in TestGenericAPI()