/external/chromium_org/chromeos/settings/ |
D | timezone_settings.cc | 261 virtual const icu::TimeZone& GetTimezone() OVERRIDE; 266 virtual const std::vector<icu::TimeZone*>& GetTimezoneList() const OVERRIDE; 278 const icu::TimeZone* GetKnownTimezoneOrNull( 279 const icu::TimeZone& timezone) const; 282 std::vector<icu::TimeZone*> timezones_; 283 scoped_ptr<icu::TimeZone> timezone_; 293 virtual void SetTimezone(const icu::TimeZone& timezone) OVERRIDE; 309 virtual void SetTimezone(const icu::TimeZone& timezone) OVERRIDE; 325 const icu::TimeZone& TimezoneSettingsBaseImpl::GetTimezone() { in GetTimezone() 335 scoped_ptr<icu::TimeZone> timezone(icu::TimeZone::createTimeZone( in SetTimezoneFromID() [all …]
|
D | timezone_settings.h | 23 virtual void TimezoneChanged(const icu::TimeZone& timezone) = 0; 31 virtual const icu::TimeZone& GetTimezone() = 0; 35 virtual void SetTimezone(const icu::TimeZone& timezone) = 0; 41 virtual const std::vector<icu::TimeZone*>& GetTimezoneList() const = 0; 44 static base::string16 GetTimezoneID(const icu::TimeZone& timezone);
|
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 96 TimeZone* zoneclone = zone->clone(); in TestGenericAPI() 112 TimeZone* saveDefault = TimeZone::createDefault(); in TestGenericAPI() 115 TimeZone::adoptDefault(zone); in TestGenericAPI() 116 TimeZone* defaultzone = TimeZone::createDefault(); in TestGenericAPI() 120 TimeZone::adoptDefault(saveDefault); in TestGenericAPI() 141 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI() 230 TimeZoneTest::findTransition(const TimeZone& tz, in findTransition() 260 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, in testUsingBinarySearch() 306 TimeZone* tz = TimeZone::createTimeZone("PRT"); in TestPRTOffset() 333 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518() [all …]
|
D | tzbdtest.cpp | 108 TimeZone *zone = TimeZone::createDefault(); in findDaylightBoundaryUsingTimeZone() 116 …findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) in findDaylightBoundaryUsingTimeZone() 189 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expIn… in verifyDST() 278 TimeZone* pst = TimeZone::createTimeZone("PST"); in TestBoundaries() 291 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestBoundaries() 298 TimeZone* save = TimeZone::createDefault(); in TestBoundaries() 299 TimeZone::setDefault(*pst); in TestBoundaries() 316 TimeZone::setDefault(*save); in TestBoundaries() 325 TimeZone *z = TimeZone::createTimeZone("PST"); in TestBoundaries() 337 TimeZone *tz; in TestBoundaries() [all …]
|
D | tzregts.cpp | 79 TimeZone *z1 = TimeZone::createTimeZone("PST"); in Test4073209() 80 TimeZone *z2 = TimeZone::createTimeZone("PST"); in Test4073209() 209 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4084933() 318 TimeZone *PST = TimeZone::createTimeZone("PST"); in Test4109314() 350 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ) in checkCalendar314() 460 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4126678() 508 StringEnumeration* ids = TimeZone::createEnumeration(rawoffset); in Test4151406() 805 TimeZone *tz = TimeZone::createDefault(); in Test4154650() 859 TimeZone *DATA_TZ [] = { in Test4162593() 883 TimeZone *tz = (TimeZone*)DATA_TZ[j]; in Test4162593() [all …]
|
D | itformat.cpp | 81 TimeZone* saveDefaultTimeZone = NULL; in runIndexedTest() 84 saveDefaultTimeZone = TimeZone::createDefault(); in runIndexedTest() 85 TimeZone *tz = TimeZone::createTimeZone("America/Los_Angeles"); in runIndexedTest() 86 TimeZone::setDefault(*tz); in runIndexedTest() 184 TimeZone::adoptDefault(saveDefaultTimeZone); in runIndexedTest()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | tztest.cpp | 95 TimeZone* zoneclone = zone->clone(); in TestGenericAPI() 111 TimeZone* saveDefault = TimeZone::createDefault(); in TestGenericAPI() 113 TimeZone* pstZone = TimeZone::createTimeZone("America/Los_Angeles"); in TestGenericAPI() 139 TimeZone::adoptDefault(zone); in TestGenericAPI() 140 TimeZone* defaultzone = TimeZone::createDefault(); in TestGenericAPI() 144 TimeZone::adoptDefault(saveDefault); in TestGenericAPI() 150 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI() 239 TimeZoneTest::findTransition(const TimeZone& tz, in findTransition() 269 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, in testUsingBinarySearch() 315 TimeZone* tz = TimeZone::createTimeZone("PRT"); in TestPRTOffset() [all …]
|
D | tzbdtest.cpp | 108 TimeZone *zone = TimeZone::createDefault(); in findDaylightBoundaryUsingTimeZone() 116 …findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) in findDaylightBoundaryUsingTimeZone() 189 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expIn… in verifyDST() 278 TimeZone* pst = TimeZone::createTimeZone("PST"); in TestBoundaries() 291 TimeZone* utc = TimeZone::createTimeZone("UTC"); in TestBoundaries() 298 TimeZone* save = TimeZone::createDefault(); in TestBoundaries() 299 TimeZone::setDefault(*pst); in TestBoundaries() 316 TimeZone::setDefault(*save); in TestBoundaries() 325 TimeZone *z = TimeZone::createTimeZone("PST"); in TestBoundaries() 337 TimeZone *tz; in TestBoundaries() [all …]
|
D | itformat.cpp | 79 TimeZone* saveDefaultTimeZone = NULL; in runIndexedTest() 82 saveDefaultTimeZone = TimeZone::createDefault(); in runIndexedTest() 83 TimeZone *tz = TimeZone::createTimeZone("PST"); in runIndexedTest() 84 TimeZone::setDefault(*tz); in runIndexedTest() 164 TimeZone::adoptDefault(saveDefaultTimeZone); in runIndexedTest()
|
D | tzregts.cpp | 79 TimeZone *z1 = TimeZone::createTimeZone("PST"); in Test4073209() 80 TimeZone *z2 = TimeZone::createTimeZone("PST"); in Test4073209() 209 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4084933() 318 TimeZone *PST = TimeZone::createTimeZone("PST"); in Test4109314() 350 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ) in checkCalendar314() 460 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4126678() 508 StringEnumeration* ids = TimeZone::createEnumeration(rawoffset); in Test4151406() 805 TimeZone *tz = TimeZone::createDefault(); in Test4154650() 859 TimeZone *DATA_TZ [] = { in Test4162593() 883 TimeZone *tz = (TimeZone*)DATA_TZ[j]; in Test4162593() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | timezone.h | 129 class U_I18N_API TimeZone : public UObject { 134 virtual ~TimeZone(); 148 static const TimeZone& U_EXPORT2 getUnknown(); 162 static const TimeZone* U_EXPORT2 getGMT(void); 175 static TimeZone* U_EXPORT2 createTimeZone(const UnicodeString& ID); 288 static TimeZone* U_EXPORT2 createDefault(void); 303 static void U_EXPORT2 adoptDefault(TimeZone* zone); 316 static void U_EXPORT2 setDefault(const TimeZone& zone); 427 virtual UBool operator==(const TimeZone& that) const; 438 UBool operator!=(const TimeZone& that) const {return !operator==(that);} [all …]
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
D | timezone.h | 129 class U_I18N_API TimeZone : public UObject { 134 virtual ~TimeZone(); 148 static const TimeZone& U_EXPORT2 getUnknown(); 162 static const TimeZone* U_EXPORT2 getGMT(void); 175 static TimeZone* U_EXPORT2 createTimeZone(const UnicodeString& ID); 288 static TimeZone* U_EXPORT2 createDefault(void); 303 static void U_EXPORT2 adoptDefault(TimeZone* zone); 316 static void U_EXPORT2 setDefault(const TimeZone& zone); 427 virtual UBool operator==(const TimeZone& that) const; 438 UBool operator!=(const TimeZone& that) const {return !operator==(that);} [all …]
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | timezone.cpp | 113 static icu::TimeZone* DEFAULT_ZONE = NULL; 116 static icu::TimeZone* _GMT = NULL; 117 static icu::TimeZone* _UNKNOWN_ZONE = NULL; 250 UResourceBundle* TimeZone::loadRule(const UResourceBundle* top, const UnicodeString& ruleid, UResou… in loadRule() 311 const TimeZone& U_EXPORT2 312 TimeZone::getUnknown() in getUnknown() 318 const TimeZone* U_EXPORT2 319 TimeZone::getGMT(void) in getGMT() 329 UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(TimeZone) in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() argument 331 TimeZone::TimeZone() in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() [all …]
|
D | ucal.cpp | 31 static TimeZone* 33 TimeZone* zone = NULL; in _createTimeZone() 41 zone = TimeZone::createTimeZone(zoneStrID); in _createTimeZone() 52 return uenum_openFromStringEnumeration(TimeZone::createTimeZoneIDEnumeration( in ucal_openTimeZoneIDEnumeration() 58 return uenum_openFromStringEnumeration(TimeZone::createEnumeration(), ec); in ucal_openTimeZones() 63 return uenum_openFromStringEnumeration(TimeZone::createEnumeration(country), ec); in ucal_openCountryTimeZones() 70 TimeZone* zone = TimeZone::createDefault(); in ucal_getDefaultTimeZone() 85 TimeZone* zone = _createTimeZone(zoneID, -1, ec); in ucal_setDefaultTimeZone() 87 TimeZone::adoptDefault(zone); in ucal_setDefaultTimeZone() 94 TimeZone* zone = _createTimeZone(zoneID, -1, ec); in ucal_getDSTSavings() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | timezone.cpp | 113 static icu::TimeZone* DEFAULT_ZONE = NULL; 116 static icu::TimeZone* _GMT = NULL; 117 static icu::TimeZone* _UNKNOWN_ZONE = NULL; 250 UResourceBundle* TimeZone::loadRule(const UResourceBundle* top, const UnicodeString& ruleid, UResou… in loadRule() 311 const TimeZone& U_EXPORT2 312 TimeZone::getUnknown() in getUnknown() 318 const TimeZone* U_EXPORT2 319 TimeZone::getGMT(void) in getGMT() 329 UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(TimeZone) in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() argument 331 TimeZone::TimeZone() in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() [all …]
|
D | ucal.cpp | 31 static TimeZone* 33 TimeZone* zone = NULL; in _createTimeZone() 41 zone = TimeZone::createTimeZone(zoneStrID); in _createTimeZone() 52 return uenum_openFromStringEnumeration(TimeZone::createTimeZoneIDEnumeration( in ucal_openTimeZoneIDEnumeration() 58 return uenum_openFromStringEnumeration(TimeZone::createEnumeration(), ec); in ucal_openTimeZones() 63 return uenum_openFromStringEnumeration(TimeZone::createEnumeration(country), ec); in ucal_openCountryTimeZones() 70 TimeZone* zone = TimeZone::createDefault(); in ucal_getDefaultTimeZone() 85 TimeZone* zone = _createTimeZone(zoneID, -1, ec); in ucal_setDefaultTimeZone() 87 TimeZone::adoptDefault(zone); in ucal_setDefaultTimeZone() 94 TimeZone* zone = _createTimeZone(zoneID, -1, ec); in ucal_getDSTSavings() [all …]
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 22 import java.util.TimeZone; 200 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong() 218 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime() 256 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate() 269 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours() 282 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes() 295 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds() 309 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 341 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1() 412 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString() [all …]
|
D | TimeTest.java | 21 import java.util.TimeZone; 100 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() 116 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 141 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTime() 304 static TimeZone defaultTimeZone = TimeZone.getDefault(); 307 TimeZone.setDefault(defaultTimeZone); in tearDown()
|
D | DateTest.java | 22 import java.util.TimeZone; 32 static Calendar aCal = Calendar.getInstance(TimeZone.getTimeZone("GMT")); 245 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() 277 TimeZone.setDefault(TimeZone.getTimeZone(timeZoneName)); in testSetTimelong() 388 static TimeZone defaultTimeZone = TimeZone.getDefault(); 391 TimeZone.setDefault(defaultTimeZone); in tearDown()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPDateTimeImpl.java | 16 import java.util.TimeZone; 44 private TimeZone timeZone = TimeZone.getTimeZone("UTC"); 70 TimeZone zone = calendar.getTimeZone(); in XMPDateTimeImpl() 98 public XMPDateTimeImpl(Date date, TimeZone timeZone) in XMPDateTimeImpl() 296 public TimeZone getTimeZone() in getTimeZone() 305 public void setTimeZone(TimeZone timeZone) in setTimeZone()
|
/external/chromium_org/chrome/browser/chromeos/system/ |
D | timezone_util.cc | 36 base::string16 GetExemplarCity(const icu::TimeZone& zone) { in GetExemplarCity() 85 base::string16 GetTimezoneName(const icu::TimeZone& timezone) { in GetTimezoneName() 114 timezone.getDisplayName(dst_offset != 0, icu::TimeZone::LONG, name); in GetTimezoneName() 131 const std::vector<icu::TimeZone*> &timezones = in GetTimezoneList() 134 for (std::vector<icu::TimeZone*>::const_iterator iter = timezones.begin(); in GetTimezoneList() 136 const icu::TimeZone* timezone = *iter; in GetTimezoneList()
|
/external/icu/icu4c/source/samples/datefmt/answers/ |
D | main_2.cpp | 20 TimeZone* createZone(const UnicodeString& id) { in createZone() 22 TimeZone* zone = TimeZone::createTimeZone(id); in createZone() 38 TimeZone *zone; in main()
|
/external/chromium_org/third_party/icu/source/samples/datefmt/answers/ |
D | main_2.cpp | 20 TimeZone* createZone(const UnicodeString& id) { in createZone() 22 TimeZone* zone = TimeZone::createTimeZone(id); in createZone() 38 TimeZone *zone; in main()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | icuzdump.cpp | 115 void setTimeZone(TimeZone* tz) { in setTimeZone() 202 TimeZone* timezone; 215 zenum = TimeZone::createEnumeration(); in ZoneIterator() 238 TimeZone* next() { in next() 239 TimeZone* tz = NULL; in next() 244 tz = TimeZone::createTimeZone(*zid); in next() 250 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); in next() 253 tz = TimeZone::createDefault(); in next() 375 TimeZone* tz = zit->next(); in main() 406 TimeZone* tz = zit->next(); in main()
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
D | icuzdump.cpp | 115 void setTimeZone(TimeZone* tz) { in setTimeZone() 202 TimeZone* timezone; 215 zenum = TimeZone::createEnumeration(); in ZoneIterator() 238 TimeZone* next() { in next() 239 TimeZone* tz = NULL; in next() 244 tz = TimeZone::createTimeZone(*zid); in next() 250 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); in next() 253 tz = TimeZone::createDefault(); in next() 375 TimeZone* tz = zit->next(); in main() 406 TimeZone* tz = zit->next(); in main()
|