/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | TimeZoneTest.java | 25 TimeZone tz1 = TimeZone.getTimeZone("PST"); in testHashCode() 26 TimeZone tz2 = TimeZone.getTimeZone("PST"); in testHashCode() 27 TimeZone tzn = TimeZone.getTimeZone("CST"); in testHashCode() 42 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetOffset() 51 TimeZone tz = TimeZone.getTimeZone("PST"); in testSetRawOffset() 64 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetRawOffset() 73 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetID() 81 TimeZone tz = TimeZone.getTimeZone("PST"); in testSetID() 94 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetDisplayName() 102 TimeZone tz = TimeZone.getTimeZone("PST"); in testGetDisplayNameLocale() [all …]
|
D | CalendarTest.java | 57 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); in testGetInstanceTimeZone() 61 assertEquals(tz, cal.getTimeZone()); in testGetInstanceTimeZone() 86 TimeZone tz = TimeZone.getTimeZone("America/New_York"); in testGetInstanceTimeZoneLocale() 96 TimeZone tz = TimeZone.getTimeZone("America/New_York"); in testGetInstanceTimeZoneULocale() 252 cal.setTimeZone(TimeZone.getTimeZone("CST")); in testIsEquivalentTo() 253 cal2.setTimeZone(TimeZone.getTimeZone("PDT")); in testIsEquivalentTo() 394 assertNotNull(cal.getTimeZone()); in testGetTimeZone() 402 TimeZone value1 = cal.getTimeZone(); in testSetTimeZone() 404 TimeZone value2 = TimeZone.getTimeZone(tzn); in testSetTimeZone() 406 TimeZone result = cal.getTimeZone(); in testSetTimeZone()
|
D | DateFormatTest.java | 54 anESTCal.setTimeZone(TimeZone.getTimeZone("EST")); in setUp() 270 cal.setTimeZone(TimeZone.getTimeZone("EST")); in testSetCalendar() 281 cal.setTimeZone(TimeZone.getTimeZone("EST")); in testGetCalendar() 311 TimeZone tz = TimeZone.getTimeZone("EST"); in testSetTimeZone() 321 TimeZone tz = TimeZone.getTimeZone("EST"); in testGetTimeZone() 323 assertEquals(tz, df.getTimeZone()); in testGetTimeZone()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | CalendarHandler.java | 45 TimeZone tz_a = cal_a.getTimeZone(); in hasSameBehavior() 46 TimeZone tz_b = cal_b.getTimeZone(); in hasSameBehavior() 74 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() 91 TimeZone tst = TimeZone.getTimeZone("Asia/Bangkok"); in getTestObjects() 108 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() 125 TimeZone ast = TimeZone.getTimeZone("Europe/Athens"); in getTestObjects() 142 TimeZone kst = TimeZone.getTimeZone("Asia/Seoul"); in getTestObjects() 159 TimeZone ast = TimeZone.getTimeZone("Africa/Addis_Ababa"); in getTestObjects() 176 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() 193 TimeZone jst = TimeZone.getTimeZone("Asia/Jerusalem"); in getTestObjects() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | CalendarHandler.java | 44 TimeZone tz_a = cal_a.getTimeZone(); in hasSameBehavior() 45 TimeZone tz_b = cal_b.getTimeZone(); in hasSameBehavior() 73 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() 90 TimeZone tst = TimeZone.getTimeZone("Asia/Bangkok"); in getTestObjects() 107 TimeZone cst = TimeZone.getTimeZone("Asia/Shanghai"); in getTestObjects() 124 TimeZone ast = TimeZone.getTimeZone("Europe/Athens"); in getTestObjects() 141 TimeZone kst = TimeZone.getTimeZone("Asia/Seoul"); in getTestObjects() 158 TimeZone ast = TimeZone.getTimeZone("Africa/Addis_Ababa"); in getTestObjects() 175 TimeZone pst = TimeZone.getTimeZone("America/Los_Angeles"); in getTestObjects() 192 TimeZone jst = TimeZone.getTimeZone("Asia/Jerusalem"); in getTestObjects() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/ |
D | CalendarTest.java | 36 cal.setTimeZone(TimeZone.getTimeZone("GMT-8:00")); in testDumpDstIgnored() 86 cal.setTimeZone(TimeZone.getTimeZone(timeZone)); in check() 105 assertEquals(TimeZone.getTimeZone("GMT-5:00").getOffset(calendar.getTime().getTime()), in testLoadBean() 106 calendar.getTimeZone().getOffset(calendar.getTime().getTime())); in testLoadBean() 117 assertEquals(TimeZone.getTimeZone("GMT-5:00").getOffset(calendar.getTime().getTime()), in testLoadWithTag() 118 calendar.getTimeZone().getOffset(calendar.getTime().getTime())); in testLoadWithTag()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/ |
D | BasicTimeZoneExample.java | 38 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in nextTransitionExample() 65 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in previousTransitionExample() 92 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in timeZoneRulesExample() 107 …BasicTimeZone tzNewYork = (BasicTimeZone)TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZON… in equivalentTransitionsExample() 108 …BasicTimeZone tzDetroit = (BasicTimeZone)TimeZone.getTimeZone("America/Detroit", TimeZone.TIMEZONE… in equivalentTransitionsExample() 110 GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("Etc/GMT")); in equivalentTransitionsExample()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 198 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong() 216 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime() 254 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate() 267 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours() 280 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes() 293 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds() 307 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 330 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1() 401 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString() 417 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | TimeZone.java | 545 public static synchronized TimeZone getTimeZone(String ID) { in getTimeZone() method in TimeZone 546 return new TimeZone(java.util.TimeZone.getTimeZone(ID)); in getTimeZone() 566 return getTimeZone(ID).freeze(); in getFrozenTimeZone() 580 public static synchronized TimeZone getTimeZone(String ID, int type) { in getTimeZone() method in TimeZone 582 return new TimeZone(java.util.TimeZone.getTimeZone(ID)); in getTimeZone()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 191 … ZoneDescriptor currentZone = new ZoneDescriptor(TimeZone.getTimeZone(referenceZone.getID())); in TestShortZoneIDs() 299 TimeZone zone = TimeZone.getTimeZone(id); in TestCustomParse() 331 TimeZone zone = TimeZone.getTimeZone("PST"); in TestDisplayName() 466 TimeZone tz = TimeZone.getTimeZone(timezones[i]); in TestDisplayName2() 685 TimeZone tz = TimeZone.getTimeZone( "PRT" ); in TestPRTOffset() 701 TimeZone time_zone = TimeZone.getTimeZone("PST"); in TestVariousAPI518() 751 TimeZone tz = TimeZone.getTimeZone("PST"); in TestGetAvailableIDs913() 757 tz = TimeZone.getTimeZone("America/Los_Angeles"); in TestGetAvailableIDs913() 764 tz = TimeZone.getTimeZone("NON_EXISTENT"); in TestGetAvailableIDs913() 850 TimeZone tz = TimeZone.getTimeZone(id); in TestGetAvailableIDsNew() [all …]
|
D | TimeZoneRegressionTest.java | 59 TimeZone z1 = TimeZone.getTimeZone("PST"); in Test4073209() 60 TimeZone z2 = TimeZone.getTimeZone("PST"); in Test4073209() 105 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 147 TimeZone zone = TimeZone.getTimeZone(ZONES[i]); in Test4096952() 185 TimeZone PST = TimeZone.getTimeZone("PST"); in Test4109314() 311 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4126678() 375 TimeZone tz = TimeZone.getTimeZone("GMT"); in Test4151429() 632 z = TimeZone.getTimeZone(null); in Test4159922() 637 z = TimeZone.getTimeZone("GMT"); in Test4159922() 808 TimeZone pst = TimeZone.getTimeZone("PST"); in Test4173604() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 192 … ZoneDescriptor currentZone = new ZoneDescriptor(TimeZone.getTimeZone(referenceZone.getID())); in TestShortZoneIDs() 300 TimeZone zone = TimeZone.getTimeZone(id); in TestCustomParse() 332 TimeZone zone = TimeZone.getTimeZone("PST"); in TestDisplayName() 467 TimeZone tz = TimeZone.getTimeZone(timezones[i]); in TestDisplayName2() 686 TimeZone tz = TimeZone.getTimeZone( "PRT" ); in TestPRTOffset() 702 TimeZone time_zone = TimeZone.getTimeZone("PST"); in TestVariousAPI518() 752 TimeZone tz = TimeZone.getTimeZone("PST"); in TestGetAvailableIDs913() 758 tz = TimeZone.getTimeZone("America/Los_Angeles"); in TestGetAvailableIDs913() 765 tz = TimeZone.getTimeZone("NON_EXISTENT"); in TestGetAvailableIDs913() 851 TimeZone tz = TimeZone.getTimeZone(id); in TestGetAvailableIDsNew() [all …]
|
D | TimeZoneRegressionTest.java | 60 TimeZone z1 = TimeZone.getTimeZone("PST"); in Test4073209() 61 TimeZone z2 = TimeZone.getTimeZone("PST"); in Test4073209() 106 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 148 TimeZone zone = TimeZone.getTimeZone(ZONES[i]); in Test4096952() 186 TimeZone PST = TimeZone.getTimeZone("PST"); in Test4109314() 312 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4126678() 376 TimeZone tz = TimeZone.getTimeZone("GMT"); in Test4151429() 633 z = TimeZone.getTimeZone(null); in Test4159922() 638 z = TimeZone.getTimeZone("GMT"); in Test4159922() 809 TimeZone pst = TimeZone.getTimeZone("PST"); in Test4173604() [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPDateTimeImpl.java | 44 private TimeZone timeZone = TimeZone.getTimeZone("UTC"); 70 TimeZone zone = calendar.getTimeZone(); in XMPDateTimeImpl() 87 this.timeZone = intCalendar.getTimeZone(); in XMPDateTimeImpl() 296 public TimeZone getTimeZone() in getTimeZone() method in XMPDateTimeImpl
|
D | ISO8601Converter.java | 337 (dateTime.getTimeZone() != null && dateTime.getTimeZone().getRawOffset() != 0)) in render() 356 if (dateTime.getTimeZone() != null) in render() 360 int offset = dateTime.getTimeZone().getOffset(timeInMillis); in render()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 80 TimeZone zone = TimeZone.getTimeZone(ids[i]); in Test4031502() 104 …l.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(ids[i])); in Test4031502() 257 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4059654() 258 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4059654() 286 Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"), in Test4061476() 374 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4071385() 375 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4071385() 406 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); in Test4083167() 441 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in Test4086724() 502 TimeZone GMT = TimeZone.getTimeZone("GMT"); in Test4096231() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 81 TimeZone zone = TimeZone.getTimeZone(ids[i]); in Test4031502() 105 …l.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(ids[i])); in Test4031502() 258 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4059654() 259 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4059654() 287 Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"), in Test4061476() 375 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4071385() 376 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4071385() 407 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); in Test4083167() 442 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in Test4086724() 503 TimeZone GMT = TimeZone.getTimeZone("GMT"); in Test4096231() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 706 public static TimeZone getTimeZone(String ID) { in getTimeZone() method in TimeZone 707 return getTimeZone(ID, TZ_IMPL, false); in getTimeZone() 726 return getTimeZone(ID, TZ_IMPL, true); in getFrozenTimeZone() 741 public static TimeZone getTimeZone(String ID, int type) { in getTimeZone() method in TimeZone 742 return getTimeZone(ID, type, false); in getTimeZone() 753 private static TimeZone getTimeZone(String id, int type, boolean frozen) { in getTimeZone() method in TimeZone 1001 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault() 1009 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 638 public static TimeZone getTimeZone(String ID) { in getTimeZone() method in TimeZone 639 return getTimeZone(ID, TZ_IMPL, false); in getTimeZone() 657 return getTimeZone(ID, TZ_IMPL, true); in getFrozenTimeZone() 671 public static TimeZone getTimeZone(String ID, int type) { in getTimeZone() method in TimeZone 672 return getTimeZone(ID, type, false); in getTimeZone() 683 private static TimeZone getTimeZone(String id, int type, boolean frozen) { in getTimeZone() method in TimeZone 921 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault() 929 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 700 TimeZone tz = gp.getTimeZone(); in TestTimeZone() 709 tz = gp.getTimeZone(); in TestTimeZone() 718 tz = gp.getTimeZone(); in TestTimeZone() 726 tz = gp.getTimeZone(); in TestTimeZone() 733 TimeZone jst = TimeZone.getTimeZone("Asia/Tokyo"); in TestTimeZone() 737 tz = gp.getTimeZone(); in TestTimeZone() 745 TimeZone cst = TimeZone.getTimeZone("Europe/Paris"); in TestTimeZone() 761 tz = gp1.getTimeZone(); in TestTimeZone() 769 tz = gp1.getTimeZone(); in TestTimeZone() 1299 TimeZone tz = TimeZone.getTimeZone("America/Sao_Paulo"); in TestDateFormat() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 701 TimeZone tz = gp.getTimeZone(); in TestTimeZone() 710 tz = gp.getTimeZone(); in TestTimeZone() 719 tz = gp.getTimeZone(); in TestTimeZone() 727 tz = gp.getTimeZone(); in TestTimeZone() 734 TimeZone jst = TimeZone.getTimeZone("Asia/Tokyo"); in TestTimeZone() 738 tz = gp.getTimeZone(); in TestTimeZone() 746 TimeZone cst = TimeZone.getTimeZone("Europe/Paris"); in TestTimeZone() 762 tz = gp1.getTimeZone(); in TestTimeZone() 770 tz = gp1.getTimeZone(); in TestTimeZone() 1300 TimeZone tz = TimeZone.getTimeZone("America/Sao_Paulo"); in TestDateFormat() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | TimestampTagTest.java | 71 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("Europe/Moscow")); in testTimestampOut() 80 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("Europe/Moscow")); in testTimestampOutMap() 92 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC")); in getText()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowTime.java | 193 tz = TimeZone.getTimeZone("UTC"); in parse() 195 tz = TimeZone.getTimeZone(time.timezone); in parse() 217 strftime.setTimeZone(TimeZone.getTimeZone(time.timezone)); in format() 259 Calendar c = Calendar.getInstance(TimeZone.getTimeZone(time.timezone)); in getCalendar() 384 public TimeZone getTimeZone() { in getTimeZone() method in ShadowTime.Strftime 385 return simpleDateFormat.getTimeZone(); in getTimeZone()
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/ |
D | IsoDate.java | 39 c.setTimeZone(TimeZone.getTimeZone("GMT")); in dateToString() 136 TimeZone.getTimeZone( in stringToDate() 140 c.setTimeZone(TimeZone.getTimeZone("GMT")); in stringToDate()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmtrtts.cpp | 393 fmt->getTimeZone().getOffset(d[0], FALSE, startRaw, startDst, status); in test() 413 …else if((in0=fmt->getTimeZone().inDaylightTime(d[0], status)) && ! failure(status, "gettingDayligh… in test() 418 … fmt->getTimeZone().inDaylightTime(d[1], status) && !failure(status, "gettingDaylightTime")) in test() 428 && (fmt->getTimeZone().inDaylightTime(d[0], status) in test() 429 == fmt->getTimeZone().inDaylightTime(d[dmatch], status) in test() 443 fmt->getTimeZone().getOffset(d[1], FALSE, startRaw, startDst, status); in test()
|