Searched refs:defaultTimezone (Results 1 – 2 of 2) sorted by relevance
| /base/global/i18n/frameworks/zone/src/ |
| D | zone_util.cpp | 240 std::string defaultTimezone; in LookupTimezoneByCountryAndNITZ() local 248 GetCountryZones(region, defaultTimezone, isBoosted, zones); in LookupTimezoneByCountryAndNITZ() 251 GetICUCountryZones(region, zones, defaultTimezone); in LookupTimezoneByCountryAndNITZ() 284 std::string defaultTimezone; in LookupTimezoneByCountry() local 285 CountryResult result = { true, MatchQuality::DEFAULT_BOOSTED, defaultTimezone }; in LookupTimezoneByCountry() 288 GetCountryZones(region, defaultTimezone, isBoosted, zones); in LookupTimezoneByCountry() 289 if (defaultTimezone.length() == 0) { in LookupTimezoneByCountry() 295 GetICUCountryZones(region, zones, defaultTimezone); in LookupTimezoneByCountry() 297 result.timezoneId = defaultTimezone; in LookupTimezoneByCountry() 305 } else if (CheckSameDstOffset(zones, defaultTimezone, currentMillis)) { in LookupTimezoneByCountry() [all …]
|
| /base/global/i18n/interfaces/native/inner_api/zone/include/ |
| D | zone_util.h | 153 bool CheckSameDstOffset(std::vector<std::string> &zones, std::string &defaultTimezone, 156 void GetDefaultAndBoost(xmlNodePtr &value, std::string &defaultTimezone, bool &isBoosted, 158 void GetCountryZones(std::string ®ion, std::string &defaultTimezone, bool &isBoosted, 160 …CUCountryZones(std::string ®ion, std::vector<std::string> &zones, std::string &defaultTimezone);
|