/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | TimeZoneTest.java | 51 TimeZone st1 = TimeZone.getTimeZone("EST"); in test_getDSTSavings() 56 st1 = TimeZone.getTimeZone("Australia/Lord_Howe"); in test_getDSTSavings() 78 TimeZone st1 = TimeZone.getTimeZone("EST"); in test_getOffset_long() 86 st1 = TimeZone.getTimeZone("EST"); in test_getOffset_long() 110 "GMT", TimeZone.getTimeZone("SMT-8").getID()); in test_getTimeZoneLjava_lang_String() 112 "GMT", TimeZone.getTimeZone("GMT+28:70").getID()); in test_getTimeZoneLjava_lang_String() 114 "GMT", TimeZone.getTimeZone("GMT+28:30").getID()); in test_getTimeZoneLjava_lang_String() 116 "GMT", TimeZone.getTimeZone("GMT+8:70").getID()); in test_getTimeZoneLjava_lang_String() 118 "GMT", TimeZone.getTimeZone("GMT+3:").getID()); in test_getTimeZoneLjava_lang_String() 120 "GMT", TimeZone.getTimeZone("GMT+3:0").getID()); in test_getTimeZoneLjava_lang_String() [all …]
|
D | GregorianCalendarTest.java | 52 assertTrue("Incorrect calendar constructed 4", gc.getTimeZone().equals( in test_ConstructorIII() 75 assertTrue("Incorrect calendar constructed", gc.getTimeZone().equals( in test_ConstructorIIIII() 106 assertTrue("Incorrect calendar constructed", gc.getTimeZone().equals( in test_ConstructorIIIIII() 134 .getTimeZone("EST")); in test_ConstructorLjava_util_TimeZone() 137 .getTimeZone("CST")); in test_ConstructorLjava_util_TimeZone() 150 Calendar c1 = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in test_ConstructorLjava_util_TimeZone() 173 .getTimeZone("EST"), Locale.JAPAN); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() 176 .getTimeZone("EST"), Locale.JAPAN); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() 179 .getTimeZone("CST"), Locale.ITALY); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() 212 gc1 = new GregorianCalendar(TimeZone.getTimeZone("EST")); in test_addII() [all …]
|
D | SimpleTimeZoneTest.java | 158 assertTrue("Equalty test1 failed", TimeZone.getTimeZone("EST").equals( in test_equalsLjava_lang_Object() 160 assertTrue("Equalty test2 failed", !(TimeZone.getTimeZone("CST") in test_equalsLjava_lang_Object() 192 TimeZone st1 = TimeZone.getTimeZone("EST"); in test_getOffsetIIIIII() 197 st1 = TimeZone.getTimeZone("EST"); in test_getOffsetIIIIII() 215 st1 = (SimpleTimeZone) TimeZone.getTimeZone("EST"); in test_getRawOffset() 230 assertTrue("Returned different hashcodes", TimeZone.getTimeZone("EST") in test_hashCode() 261 TimeZone zone = TimeZone.getTimeZone("EST"); in test_inDaylightTimeLjava_util_Date() 365 st1 = (SimpleTimeZone) TimeZone.getTimeZone("EST"); in test_setRawOffsetI() 465 String string = TimeZone.getTimeZone("EST").toString(); in test_toString()
|
D | DateTest.java | 320 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String() 325 cal.setTimeZone(TimeZone.getTimeZone("MST")); in test_parseLjava_lang_String() 330 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String() 460 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_toString() 471 TimeZone.setDefault(TimeZone.getTimeZone("MST")); in test_toString()
|
D | CalendarTest.java | 41 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("EST")); in test_setII() 404 cal.setTimeZone(TimeZone.getTimeZone("EST")); in test_setTimeLjava_util_Date() 457 assertNotSame("getTimeZone", cal.getTimeZone(), anotherCal in test_clone() 458 .getTimeZone()); in test_clone() 468 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_getTimeInMillis() 665 .getTimeZone("GMT"), Locale.US); in test_getInstance() 666 assertEquals(TimeZone.getTimeZone("GMT"), in test_getInstance() 667 gmt_calendar.getTimeZone()); in test_getInstance() 669 .getTimeZone("EST"), Locale.US); in test_getInstance() 670 assertEquals(TimeZone.getTimeZone("EST") in test_getInstance() [all …]
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 201 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong() 219 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime() 257 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate() 270 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours() 283 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes() 296 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds() 310 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 342 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1() 413 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString() 429 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() [all …]
|
D | TimeTest.java | 101 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() 117 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 142 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTime()
|
D | DateTest.java | 33 static Calendar aCal = Calendar.getInstance(TimeZone.getTimeZone("GMT")); 246 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() 278 TimeZone.setDefault(TimeZone.getTimeZone(timeZoneName)); in testSetTimelong()
|
/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/icu4c/test/intltest/ |
D | dtfmtrtts.cpp | 388 fmt->getTimeZone().getOffset(d[0], FALSE, startRaw, startDst, status); in test() 408 …else if((in0=fmt->getTimeZone().inDaylightTime(d[0], status)) && ! failure(status, "gettingDayligh… in test() 413 … fmt->getTimeZone().inDaylightTime(d[1], status) && !failure(status, "gettingDaylightTime")) in test() 423 && (fmt->getTimeZone().inDaylightTime(d[0], status) in test() 424 == fmt->getTimeZone().inDaylightTime(d[dmatch], status) in test()
|
D | dtfmapts.cpp | 243 const TimeZone& tz = def->getTimeZone(); in testAPI() 247 if( de->getTimeZone() != it->getTimeZone()) { in testAPI()
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | DateUtils.java | 78 public static final TimeZone GMT = TimeZone.getTimeZone("GMT"); 252 format.setTimeZone(TimeZone.getTimeZone("GMT")); in formatFor()
|
/external/icu4c/i18n/ |
D | datefmt.cpp | 242 TimeZone *tzsav = (TimeZone*)fCalendar->getTimeZone().clone(); in parse() 477 DateFormat::getTimeZone() const in getTimeZone() function in DateFormat 480 return fCalendar->getTimeZone(); in getTimeZone()
|
D | cecal.cpp | 90 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) { in inDaylightTime()
|
D | windtfmt.cpp | 153 const TimeZone &tz = cal.getTimeZone(); in format() 213 fZoneID = setTimeZoneInfo(fTZI, fCalendar->getTimeZone()); in adoptCalendar()
|
D | islamcal.cpp | 452 if (U_FAILURE(status) || (&(getTimeZone()) == NULL && !getTimeZone().useDaylightTime())) in inDaylightTime()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPDateTime.java | 86 TimeZone getTimeZone(); in getTimeZone() method
|
D | XMPDateTimeFactory.java | 29 private static final TimeZone UTC = TimeZone.getTimeZone("UTC");
|
/external/apache-http/src/org/apache/http/protocol/ |
D | HttpDateGenerator.java | 57 public static final TimeZone GMT = TimeZone.getTimeZone("GMT");
|
/external/okhttp/src/main/java/libcore/net/http/ |
D | HttpDate.java | 39 rfc1123.setTimeZone(TimeZone.getTimeZone("UTC"));
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
D | ZipEntryTest.java | 367 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_setTimeJ() 371 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in test_setTimeJ() 375 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_setTimeJ()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_PortManager.java | 98 Calendar c = Calendar.getInstance(TimeZone.getTimeZone("UTC")); in somewhatRandomPort()
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | SimpleDateFormatTest.java | 95 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId)); in verifyFormatTimezone() 467 format.setTimeZone(TimeZone.getTimeZone("EST")); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 618 cal.setTimeZone(TimeZone.getTimeZone("HST")); in test_parseLjava_lang_StringLjava_text_ParsePosition() 687 cal.setTimeZone(TimeZone.getTimeZone("GMT+0:1")); in test_parseLjava_lang_StringLjava_text_ParsePosition() 690 cal.setTimeZone(TimeZone.getTimeZone("EST")); in test_parseLjava_lang_StringLjava_text_ParsePosition() 707 df.setTimeZone(TimeZone.getTimeZone("EST")); in test_parseLjava_lang_StringLjava_text_ParsePosition()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
D | UTCTimeTest.java | 49 sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
|