Lines Matching defs:timezone
25 #include "unicode/timezone.h"
32 // we still have 400+ zones. Relaxing the criteria for the timezone
167 // Take the last component of a timezone id (e.g. 'Baz' in 'Foo/Bar/Baz').
170 // any timezone for which that's the case.
207 const icu::TimeZone* timezone = GetTimezone(value);
208 if (!timezone)
210 SystemAccess::GetInstance()->SetTimezone(*timezone);
228 void SystemSettingsProvider::TimezoneChanged(const icu::TimeZone& timezone) {
237 const icu::TimeZone* timezone = *iter;
239 option->Append(Value::CreateStringValue(GetTimezoneID(*timezone)));
240 option->Append(Value::CreateStringValue(GetTimezoneName(*timezone)));
247 const icu::TimeZone& timezone) {
254 timezone.getOffset(now, false, raw_offset, dst_offset, status);
276 timezone.getDisplayName(dst_offset != 0, icu::TimeZone::LONG, name);
279 string16(name.getBuffer(), name.length()), GetExemplarCity(timezone)));
285 const icu::TimeZone& timezone) {
287 timezone.getID(id);
295 const icu::TimeZone* timezone = *iter;
296 if (GetTimezoneID(*timezone) == timezone_id) {
297 return timezone;
304 const icu::TimeZone& timezone) const {
308 if (known_timezone->hasSameRules(timezone))
312 // Not able to find a matching timezone in our list.