/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
D | TimeZoneTest.java | 297 TimeZone tz = TimeZone.getTimeZone("GMT-6"); in test_getDisplayName() local 298 assertEquals("GMT-06:00", tz.getDisplayName()); in test_getDisplayName() 299 tz = TimeZone.getTimeZone("America/Los_Angeles"); in test_getDisplayName() 300 assertEquals("Pacific Standard Time", tz.getDisplayName()); in test_getDisplayName() 311 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); in test_getDisplayNameLjava_util_Locale() local 312 assertEquals("Pacific Standard Time", tz.getDisplayName(new Locale("US"))); in test_getDisplayNameLjava_util_Locale() 313 assertEquals("Heure normale du Pacifique", tz.getDisplayName(Locale.FRANCE)); in test_getDisplayNameLjava_util_Locale() 323 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); in test_getDisplayNameZI() local 324 assertEquals("PST", tz.getDisplayName(false, 0)); in test_getDisplayNameZI() 325 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, 1)); in test_getDisplayNameZI() [all …]
|
D | DateTest.java | 651 TimeZone tz = TimeZone.getDefault(); in test_toString() local 658 TimeZone.setDefault(tz); in test_toString() 691 TimeZone tz = TimeZone.getDefault(); in test_toLocaleString() local 701 TimeZone.setDefault(tz); in test_toLocaleString()
|
D | SimpleTimeZoneTest.java | 304 TimeZone tz = TimeZone.getTimeZone("EST"); in test_equalsLjava_lang_Object() local 305 st1 = new SimpleTimeZone(tz.getRawOffset(), "EST"); in test_equalsLjava_lang_Object() 480 TimeZone tz = TimeZone.getTimeZone("EST"); in test_inDaylightTimeLjava_util_Date() local 481 SimpleTimeZone zone = new SimpleTimeZone(tz.getRawOffset(), "EST", in test_inDaylightTimeLjava_util_Date()
|
D | GregorianCalendarTest.java | 407 TimeZone tz = TimeZone.getTimeZone(ids[i]); in test_getActualMaximumI() local 408 gc.setTimeZone(tz); in test_getActualMaximumI()
|
/dalvik/libcore/luni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 342 SimpleTimeZone tz = (SimpleTimeZone) object; in equals() local 343 return getID().equals(tz.getID()) in equals() 344 && rawOffset == tz.rawOffset in equals() 345 && useDaylight == tz.useDaylight in equals() 346 && (!useDaylight || (startYear == tz.startYear in equals() 347 && startMonth == tz.startMonth in equals() 348 && startDay == tz.startDay && startMode == tz.startMode in equals() 349 && startDayOfWeek == tz.startDayOfWeek in equals() 350 && startTime == tz.startTime && endMonth == tz.endMonth in equals() 351 && endDay == tz.endDay in equals() [all …]
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/ |
D | ZoneInfoDB.java | 286 TimeZone tz = new MinimalTimeZone(0); in getTimeZone() local 287 tz.setID(id); in getTimeZone() 288 return tz; in getTimeZone() 296 TimeZone tz = ZoneInfo.getTimeZone(id); in getTimeZone() local 298 if (tz != null) in getTimeZone() 299 return tz; in getTimeZone() 305 tz = new MinimalTimeZone(0); in getTimeZone() 306 tz.setID("GMT"); in getTimeZone() 307 return tz; in getTimeZone()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
D | Time.java | 48 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time() local 51 dateF.setTimeZone(tz); in Time()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/ |
D | Time.java | 46 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); in Time() local 49 dateF.setTimeZone(tz); in Time()
|
/dalvik/libcore/support/src/test/java/tests/support/ |
D | Support_SimpleDateFormat.java | 48 TimeZone tz = TimeZone.getTimeZone("EST"); in t_format_with_FieldPosition() local 49 Calendar cal = new GregorianCalendar(tz); in t_format_with_FieldPosition() 55 format.setTimeZone(tz); in t_format_with_FieldPosition() 135 TimeZone tz = TimeZone.getTimeZone("GMT-05:00"); in t_formatToCharacterIterator() local 136 Calendar cal = new GregorianCalendar(tz); in t_formatToCharacterIterator() 142 format.setTimeZone(tz); in t_formatToCharacterIterator()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/ |
D | X509V2CRLGenerator.java | 48 private SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); field in X509V2CRLGenerator 76 dateF.setTimeZone(tz); in X509V2CRLGenerator()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
D | X509V2CRLGenerator.java | 54 private SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); field in X509V2CRLGenerator 64 dateF.setTimeZone(tz); in X509V2CRLGenerator()
|
/dalvik/tools/dmtracedump/ |
D | CreateTestTrace.c | 350 struct timezone tz; in writeDataHeader() local 352 gettimeofday(&tv, &tz); in writeDataHeader()
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | DateFormatTest.java | 656 TimeZone tz = format.getTimeZone(); in test_getTimeZone() local 663 assertTrue("Incorrect time zone", tz.equals(format.getCalendar() in test_getTimeZone() 1074 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); in test_setTimeZoneLjava_util_TimeZone() local 1075 format.setTimeZone(tz); in test_setTimeZoneLjava_util_TimeZone() 1076 assertTrue("TimeZone is set incorrectly", tz.equals(format in test_setTimeZoneLjava_util_TimeZone()
|
/dalvik/libcore/icu/src/main/native/ |
D | ResourceInterface.cpp | 446 TimeZone *tz = zones[i]; in getTimeZonesNative() local 447 longFormat.setTimeZone(*tz); in getTimeZonesNative() 448 shortFormat.setTimeZone(*tz); in getTimeZonesNative() 454 tz->getOffset(date1, false, rawOffset, daylightOffset, status); in getTimeZonesNative() 490 delete(tz); in getTimeZonesNative()
|