HomeSort by relevance Sort by last modified time
    Searched refs:getTimeZone (Results 1 - 25 of 163) sorted by null

1 2 3 4 5 6 7

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TimeZoneTest.java 51 TimeZone st1 = TimeZone.getTimeZone("EST");
56 st1 = TimeZone.getTimeZone("Australia/Lord_Howe");
78 TimeZone st1 = TimeZone.getTimeZone("EST");
86 st1 = TimeZone.getTimeZone("EST");
106 * @tests java.util.TimeZone#getTimeZone(java.lang.String)
110 "GMT", TimeZone.getTimeZone("SMT-8").getID());
112 "GMT", TimeZone.getTimeZone("GMT+28:70").getID());
114 "GMT", TimeZone.getTimeZone("GMT+28:30").getID());
116 "GMT", TimeZone.getTimeZone("GMT+8:70").getID());
118 "GMT", TimeZone.getTimeZone("GMT+3:").getID())
    [all...]
GregorianCalendarTest.java 52 assertTrue("Incorrect calendar constructed 4", gc.getTimeZone().equals(
75 assertTrue("Incorrect calendar constructed", gc.getTimeZone().equals(
106 assertTrue("Incorrect calendar constructed", gc.getTimeZone().equals(
134 .getTimeZone("EST"));
137 .getTimeZone("CST"));
150 Calendar c1 = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
173 .getTimeZone("EST"), Locale.JAPAN);
176 .getTimeZone("EST"), Locale.JAPAN);
179 .getTimeZone("CST"), Locale.ITALY);
212 gc1 = new GregorianCalendar(TimeZone.getTimeZone("EST"))
    [all...]
SimpleTimeZoneTest.java 158 assertTrue("Equalty test1 failed", TimeZone.getTimeZone("EST").equals(
160 assertTrue("Equalty test2 failed", !(TimeZone.getTimeZone("CST")
192 TimeZone st1 = TimeZone.getTimeZone("EST");
197 st1 = TimeZone.getTimeZone("EST");
215 st1 = (SimpleTimeZone) TimeZone.getTimeZone("EST");
230 assertTrue("Returned different hashcodes", TimeZone.getTimeZone("EST")
261 TimeZone zone = TimeZone.getTimeZone("EST");
365 st1 = (SimpleTimeZone) TimeZone.getTimeZone("EST");
465 String string = TimeZone.getTimeZone("EST").toString();
  /libcore/luni/src/test/java/libcore/java/util/
OldTimeZoneTest.java 72 assertNotNull(TimeZone.getTimeZone(str[i]));
81 assertNotNull(TimeZone.getTimeZone(str[i]));
86 TimeZone tz = TimeZone.getTimeZone("GMT-6");
88 tz = TimeZone.getTimeZone("America/Los_Angeles");
93 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
102 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
110 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
126 TimeZone tz = TimeZone.getTimeZone("GMT-6");
128 tz = TimeZone.getTimeZone("America/Denver");
133 TimeZone tz1 = TimeZone.getTimeZone("America/Denver")
    [all...]
OldGregorianCalendarTest.java 33 GregorianCalendar gc1 = new GregorianCalendar(TimeZone.getTimeZone("GMT+1"), Locale.FRANCE);
35 GregorianCalendar gc2 = new GregorianCalendar(TimeZone.getTimeZone("GMT+2"), Locale.US);
42 GregorianCalendar g1 = new GregorianCalendar(TimeZone.getTimeZone("Europe/Moscow"));
56 TimeZone.getTimeZone("Europe/London"),
70 TimeZone.getTimeZone("Europe/London"),
76 TimeZone.getTimeZone("Europe/Moscow"));
84 TimeZone.getTimeZone("Europe/London"),
98 TimeZone.getTimeZone("Europe/London"),
TimeZoneTest.java 28 TimeZone asiaTaipei = TimeZone.getTimeZone("Asia/Taipei");
34 TimeZone atlanticReykjavik = TimeZone.getTimeZone("Atlantic/Reykjavik");
58 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
82 TimeZone tz = TimeZone.getTimeZone("Asia/Saigon");
107 tz = TimeZone.getTimeZone("Africa/Bissau");
124 TimeZone tz = TimeZone.getTimeZone(id);
138 TimeZone timeZone = TimeZone.getTimeZone("Europe/Helsinki");
147 TimeZone denver = TimeZone.getTimeZone ("America/Denver") ;
148 TimeZone phoenix = TimeZone.getTimeZone ("America/Phoenix") ;
DateTest.java 30 TimeZone.setDefault(TimeZone.getTimeZone("America/Chicago"));
36 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"));
CalendarTest.java 26 private static final TimeZone AMERICA_SAO_PAULO = TimeZone.getTimeZone("America/Sao_Paulo");
29 private static final TimeZone AUSTRALIA_LORD_HOWE = TimeZone.getTimeZone("Australia/Lord_Howe");
36 private static final TimeZone ASIA_KUALA_LUMPUR = TimeZone.getTimeZone("Asia/Kuala_Lumpur");
38 private static final TimeZone ASIA_SEOUL = TimeZone.getTimeZone("Asia/Seoul");
44 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"), Locale.US);
46 TimeZone tz = java.util.TimeZone.getTimeZone("GMT+7");
188 calendar.setTimeZone(TimeZone.getTimeZone("GMT-08:00"));
  /cts/tests/tests/util/src/android/util/cts/
TimeUtilsTest.java 36 notes = "Test method: getTimeZone",
37 method = "getTimeZone",
52 TimeZone tz = TimeZone.getTimeZone(name);
69 notes = "Test method: getTimeZone",
70 method = "getTimeZone",
81 TimeZone tz = TimeZone.getTimeZone(name);
94 notes = "Test method: getTimeZone",
95 method = "getTimeZone",
105 TimeZone tz = TimeZone.getTimeZone(name);
118 notes = "Test method: getTimeZone",
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
TimeUtilsTest.java 41 TimeZone tz = TimeZone.getTimeZone(name);
62 TimeZone tz = TimeZone.getTimeZone(name);
78 TimeZone tz = TimeZone.getTimeZone(name);
392 TimeZone tz = TimeZone.getTimeZone(name);
416 TimeZone tz = TimeZone.getTimeZone(name);
427 return TimeUtils.getTimeZone(c.get(c.ZONE_OFFSET) + c.get(c.DST_OFFSET),
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 30 private static final TimeZone AMERICA_LOS_ANGELES = TimeZone.getTimeZone("America/Los_Angeles");
31 private static final TimeZone AUSTRALIA_LORD_HOWE = TimeZone.getTimeZone("Australia/Lord_Howe");
81 format.setTimeZone(TimeZone.getTimeZone("UTC"));
96 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
107 Calendar c = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
128 sdf.setTimeZone(TimeZone.getTimeZone("Europe/Berlin"));
131 sdf.setTimeZone(TimeZone.getTimeZone("Europe/Zurich"));
140 TimeZone.setDefault(TimeZone.getTimeZone("America/Chicago"));
147 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
159 sdf.setTimeZone(TimeZone.getTimeZone("UTC"))
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
OldTimestampTest.java 27 TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/
DateTime.java 70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0"));
110 public int getTimeZone() {
115 System.out.println(getYear() + " " + getMonth() + " " + getDay() + "; " + getHour() + " " + getMinute() + " " + getSecond() + " " + getTimeZone());
  /external/apache-http/src/org/apache/http/protocol/
HttpDateGenerator.java 57 public static final TimeZone GMT = TimeZone.getTimeZone("GMT");
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DateUtils.java 39 TimeZone tz = TimeZone.getTimeZone("GMT");
  /libcore/luni/src/main/java/libcore/net/http/
HttpDate.java 39 rfc1123.setTimeZone(TimeZone.getTimeZone("UTC"));
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Time.java 44 GregorianCalendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
ASN1UTCTime.java 98 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
ASN1GeneralizedTime.java 87 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
  /development/samples/GlobalTime/src/com/android/globaltime/
City.java 126 TimeZone tz1 = c1.getTimeZone();
127 TimeZone tz2 = c2.getTimeZone();
188 public TimeZone getTimeZone() {
190 timeZone = TimeZone.getTimeZone(timeZoneID);
230 timeZone = TimeZone.getTimeZone(timeZoneID);
  /libcore/luni/src/main/java/java/text/
DateFormat.java 323 && calendar.getTimeZone().equals(
324 dateFormat.calendar.getTimeZone())
590 public TimeZone getTimeZone() {
591 return calendar.getTimeZone();
598 + calendar.getTimeZone().hashCode()
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
TimeTest.java 101 TimeZone.setDefault(TimeZone.getTimeZone(timeZone));
117 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
142 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
TimestampTest.java 201 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
219 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
257 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
270 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
283 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
296 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
310 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
342 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
413 TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
429 TimeZone.setDefault(TimeZone.getTimeZone(timeZone))
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
SimpleTimeZoneTest.java 262 TimeZone tz = TimeZone.getTimeZone("EST");
298 // TimeZone st1 = TimeZone.getTimeZone("EST");
299 st1 = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST");
304 st1 = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST");
356 st1 = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST");
371 assertTrue(TimeZone.getTimeZone("EST").hashCode() != 0);
402 TimeZone tz = TimeZone.getTimeZone("EST");
593 st1 = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST");
696 SimpleTimeZone st = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST");
769 String string = TimeZone.getTimeZone("EST").toString()
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_PortManager.java 98 Calendar c = Calendar.getInstance(TimeZone.getTimeZone("UTC"));

Completed in 571 milliseconds

1 2 3 4 5 6 7