/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/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/util/ |
D | TimeZone.java.patch | 9 - * method <code>getTimeZone</code> creates an instance of ICU's own <code>TimeZone</code> 40 - * <code>getTimeZone</code>, <code>setDefaultTimeZoneType</code> 42 + * <code>getTimeZone</code>. 47 - * used by <code>getTimeZone</code>, <code>setDefaultTimeZoneType</code> 49 + * used by <code>getTimeZone</code>.
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 195 … ZoneDescriptor currentZone = new ZoneDescriptor(TimeZone.getTimeZone(referenceZone.getID())); in TestShortZoneIDs() 305 TimeZone zone = TimeZone.getTimeZone(id); in TestCustomParse() 337 TimeZone zone = TimeZone.getTimeZone("PST"); in TestDisplayName() 472 TimeZone tz = TimeZone.getTimeZone(timezones[i]); in TestDisplayName2() 676 TimeZone tz = TimeZone.getTimeZone( "PRT" ); in TestPRTOffset() 692 TimeZone time_zone = TimeZone.getTimeZone("PST"); in TestVariousAPI518() 742 TimeZone tz = TimeZone.getTimeZone("PST"); in TestGetAvailableIDs913() 748 tz = TimeZone.getTimeZone("America/Los_Angeles"); in TestGetAvailableIDs913() 755 tz = TimeZone.getTimeZone("NON_EXISTENT"); in TestGetAvailableIDs913() 841 TimeZone tz = TimeZone.getTimeZone(id); in TestGetAvailableIDsNew() [all …]
|
D | TimeZoneRegressionTest.java | 62 TimeZone z1 = TimeZone.getTimeZone("PST"); in Test4073209() 63 TimeZone z2 = TimeZone.getTimeZone("PST"); in Test4073209() 108 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 150 TimeZone zone = TimeZone.getTimeZone(ZONES[i]); in Test4096952() 188 TimeZone PST = TimeZone.getTimeZone("PST"); in Test4109314() 314 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4126678() 378 TimeZone tz = TimeZone.getTimeZone("GMT"); in Test4151429() 635 z = TimeZone.getTimeZone(null); in Test4159922() 640 z = TimeZone.getTimeZone("GMT"); in Test4159922() 811 TimeZone pst = TimeZone.getTimeZone("PST"); in Test4173604() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 198 … ZoneDescriptor currentZone = new ZoneDescriptor(TimeZone.getTimeZone(referenceZone.getID())); in TestShortZoneIDs() 308 TimeZone zone = TimeZone.getTimeZone(id); in TestCustomParse() 340 TimeZone zone = TimeZone.getTimeZone("PST"); in TestDisplayName() 475 TimeZone tz = TimeZone.getTimeZone(timezones[i]); in TestDisplayName2() 679 TimeZone tz = TimeZone.getTimeZone( "PRT" ); in TestPRTOffset() 695 TimeZone time_zone = TimeZone.getTimeZone("PST"); in TestVariousAPI518() 745 TimeZone tz = TimeZone.getTimeZone("PST"); in TestGetAvailableIDs913() 751 tz = TimeZone.getTimeZone("America/Los_Angeles"); in TestGetAvailableIDs913() 758 tz = TimeZone.getTimeZone("NON_EXISTENT"); in TestGetAvailableIDs913() 844 TimeZone tz = TimeZone.getTimeZone(id); in TestGetAvailableIDsNew() [all …]
|
D | TimeZoneRegressionTest.java | 65 TimeZone z1 = TimeZone.getTimeZone("PST"); in Test4073209() 66 TimeZone z2 = TimeZone.getTimeZone("PST"); in Test4073209() 111 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 153 TimeZone zone = TimeZone.getTimeZone(ZONES[i]); in Test4096952() 191 TimeZone PST = TimeZone.getTimeZone("PST"); in Test4109314() 317 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4126678() 381 TimeZone tz = TimeZone.getTimeZone("GMT"); in Test4151429() 638 z = TimeZone.getTimeZone(null); in Test4159922() 643 z = TimeZone.getTimeZone("GMT"); in Test4159922() 814 TimeZone pst = TimeZone.getTimeZone("PST"); in Test4173604() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowTime.java | 173 long gmtoff = TimeZone.getTimeZone(timezone).getOffset(date); in switchTimezone() 207 tz = TimeZone.getTimeZone("UTC"); in parse() 209 tz = TimeZone.getTimeZone(time.timezone); in parse() 258 final TimeZone tz = TimeZone.getTimeZone(time.timezone); in parse3339() 289 formatter.setTimeZone(TimeZone.getTimeZone("UTC")); in parse3339() 316 …ormat(format, new Date(toMillis(false)), Locale.getDefault(), TimeZone.getTimeZone(time.timezone)); in format() 320 Calendar c = Calendar.getInstance(TimeZone.getTimeZone(time.timezone)); in getCalendar()
|
/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 | 87 TimeZone zone = TimeZone.getTimeZone(ids[i]); in Test4031502() 111 …l.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(ids[i])); in Test4031502() 264 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4059654() 265 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4059654() 293 Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"), in Test4061476() 381 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4071385() 382 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4071385() 413 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); in Test4083167() 448 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in Test4086724() 509 TimeZone GMT = TimeZone.getTimeZone("GMT"); in Test4096231() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 90 TimeZone zone = TimeZone.getTimeZone(ids[i]); in Test4031502() 114 …l.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(ids[i])); in Test4031502() 267 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4059654() 268 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4059654() 296 Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"), in Test4061476() 384 java.util.TimeZone javazone = java.util.TimeZone.getTimeZone("GMT"); in Test4071385() 385 TimeZone icuzone = TimeZone.getTimeZone("GMT"); in Test4071385() 416 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); in Test4083167() 451 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in Test4086724() 512 TimeZone GMT = TimeZone.getTimeZone("GMT"); in Test4096231() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 633 public static TimeZone getTimeZone(String ID) { in getTimeZone() method in TimeZone 634 return getTimeZone(ID, TZ_IMPL, false); in getTimeZone() 652 return getTimeZone(ID, TZ_IMPL, true); in getFrozenTimeZone() 666 public static TimeZone getTimeZone(String ID, int type) { in getTimeZone() method in TimeZone 667 return getTimeZone(ID, type, false); in getTimeZone() 678 private static TimeZone getTimeZone(String id, int type, boolean frozen) { in getTimeZone() method in TimeZone 898 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault() 906 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 702 public static TimeZone getTimeZone(String ID) { in getTimeZone() method in TimeZone 703 return getTimeZone(ID, TZ_IMPL, false); in getTimeZone() 722 return getTimeZone(ID, TZ_IMPL, true); in getFrozenTimeZone() 737 public static TimeZone getTimeZone(String ID, int type) { in getTimeZone() method in TimeZone 738 return getTimeZone(ID, type, false); in getTimeZone() 749 private static TimeZone getTimeZone(String id, int type, boolean frozen) { in getTimeZone() method in TimeZone 980 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault() 988 jdkZone = java.util.TimeZone.getTimeZone(icuID); in setDefault()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 704 TimeZone tz = gp.getTimeZone(); in TestTimeZone() 713 tz = gp.getTimeZone(); in TestTimeZone() 722 tz = gp.getTimeZone(); in TestTimeZone() 730 tz = gp.getTimeZone(); in TestTimeZone() 737 TimeZone jst = TimeZone.getTimeZone("Asia/Tokyo"); in TestTimeZone() 741 tz = gp.getTimeZone(); in TestTimeZone() 749 TimeZone cst = TimeZone.getTimeZone("Europe/Paris"); in TestTimeZone() 765 tz = gp1.getTimeZone(); in TestTimeZone() 773 tz = gp1.getTimeZone(); in TestTimeZone() 1303 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/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()
|