/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidLocaleTest.java | 56 TimeZone berlin = TimeZone.getTimeZone("Europe/Berlin");
|
/packages/apps/Exchange/src/com/android/exchange/ |
Eas.java | 172 DATE_FORMAT.setTimeZone(TimeZone.getTimeZone("UTC"));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
CalendarTest.java | 41 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("EST")); 404 cal.setTimeZone(TimeZone.getTimeZone("EST")); 457 assertNotSame("getTimeZone", cal.getTimeZone(), anotherCal 458 .getTimeZone()); 468 cal.setTimeZone(TimeZone.getTimeZone("GMT")); 665 .getTimeZone("GMT"), Locale.US); 666 assertEquals(TimeZone.getTimeZone("GMT"), 667 gmt_calendar.getTimeZone()); 669 .getTimeZone("EST"), Locale.US) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
JavaTimeZone.java | 25 * This TimeZone subclass is returned by the TimeZone factory method getTimeZone(String) 86 jtz = java.util.TimeZone.getTimeZone(id); 94 jtz = java.util.TimeZone.getTimeZone(canonicalID);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CalendarICU.java | 190 public TimeZone getTimeZone() { 191 return TimeZoneICU.wrap(fIcuCal.getTimeZone());
|
SimpleDateFormatICU.java | 237 public TimeZone getTimeZone() { 238 return getCalendar().getTimeZone(); 261 com.ibm.icu.util.TimeZone icuTz = TimeZoneJDK.wrap(newCalendar.getTimeZone());
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRoundTripTest.java | 229 (fmt.getTimeZone().inDaylightTime(d[0]) 230 || fmt.getTimeZone().inDaylightTime(d[1])
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
ZoneGetter.java | 102 TimeZone tz = TimeZone.getTimeZone(olsonId); 115 final TimeZone tz = TimeZone.getTimeZone(olsonId);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
SimpleDateFormatTest.java | 43 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); 416 format.setTimeZone(TimeZone.getTimeZone("EST")); 426 format.setTimeZone(TimeZone.getTimeZone("America/New_York")); 498 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId)); 565 cal.setTimeZone(TimeZone.getTimeZone("HST")); 614 cal.setTimeZone(TimeZone.getTimeZone("GMT+0:1")); 617 cal.setTimeZone(TimeZone.getTimeZone("EST")); 634 df.setTimeZone(TimeZone.getTimeZone("EST")); [all...] |
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 38 * <p>You can also get a specific {@code TimeZone} {@link #getTimeZone by Olson ID}. 60 * <p>Note the type returned by the factory methods {@link #getDefault} and {@link #getTimeZone} is 152 * passed to {@link #getTimeZone} to lookup the corresponding time zone 161 * offsetMillis}. Any of these IDs can be passed to {@link #getTimeZone} to 194 defaultTimeZone = TimeZone.getTimeZone(zoneName); 391 public static synchronized TimeZone getTimeZone(String id) {
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertAdapter.java | 115 String tz = Utils.getTimeZone(context, null); 133 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
|
/packages/apps/Settings/src/com/android/settings/ |
ZonePicker.java | 132 return TimeZone.getTimeZone((String)((Map<?, ?>)item).get(ZoneGetter.KEY_ID)); 220 final TimeZone tz = TimeZone.getTimeZone(tzId);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 211 TimeZone ny = TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZONE_ICU); 324 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU); 353 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU); 388 TimeZone newyork = TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZONE_ICU); 389 TimeZone indianapolis = TimeZone.getTimeZone("America/Indiana/Indianapolis", TimeZone.TIMEZONE_ICU); 390 TimeZone gmt_5 = TimeZone.getTimeZone("Etc/GMT+5", TimeZone.TIMEZONE_ICU); 423 TimeZone losangeles = TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU); 439 BasicTimeZone olsontz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); 518 BasicTimeZone olsontz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); 703 BasicTimeZone tz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CompatibilityTest.java | 44 java.util.TimeZone jdkGMT = java.util.TimeZone.getTimeZone("GMT"); 71 TimeZone gmt = TimeZone.getTimeZone("GMT"); 117 new GregorianCalendar(TimeZone.getTimeZone("UTC")); 163 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); 277 if (!zone.equals(cal.getTimeZone())) errln("FAIL: Calendar.getTimeZone failed"); 279 Calendar cal2 = Calendar.getInstance(cal.getTimeZone()); 651 gmtcal.setTimeZone(TimeZone.getTimeZone("Africa/Casablanca")); 659 cal.setTimeZone(TimeZone.getTimeZone("America/Los_Angels")); 662 int offset = cal.getTimeZone().getOffset(cal.get(Calendar.ERA) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
SearchActivity.java | 100 Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater)); 259 icon, this, Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater)); 328 mHandler, mTimeChangesUpdater, Utils.getTimeZone(this, mTimeChangesUpdater));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
DerGeneralizedTimeEDTest.java | 84 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
|
GeneralizedTimeTest.java | 52 sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
|
/external/icu/icu4c/source/i18n/ |
persncal.cpp | 238 if (U_FAILURE(status) || !getTimeZone().useDaylightTime())
|
/external/icu/icu4c/source/i18n/unicode/ |
dtitvfmt.h | 507 virtual const TimeZone& getTimeZone(void) const; [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltztst.cpp | 170 TimeZone* save = format->getTimeZone().clone();
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 83 Calendar retval = Calendar.getInstance(TimeZone.getTimeZone("GMT"));
|
/external/vogar/src/vogar/ |
XmlReportReader.java | 108 dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZonePickerUtils.java | 67 TimeZone timezone = TimeZone.getTimeZone(id);
|
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.java | 82 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
|
OldDateFormatTest.java | 132 TimeZone tz = format.getTimeZone(); 140 .getTimeZone())); 478 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); 481 .getTimeZone()));
|