/external/icu/icu4c/source/test/intltest/ |
windttst.cpp | 80 const TimeZone *tz = TimeZone::createDefault(); local 83 tz->getID(zoneID); 210 delete tz;
|
astrotst.cpp | 217 // TimeZone *tz = TimeZone::createTimeZone("America/Los_Angeles"); 268 // TimeZone tz = TimeZone.getTimeZone("America/Montreal"); 269 TimeZone *tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); local 271 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status); 272 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); 286 df_t->adoptTimeZone(tz->clone()); 287 df_d->adoptTimeZone(tz->clone()); 288 df_dt->adoptTimeZone(tz->clone()); 362 delete tz;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DataDrivenFormatTest.java | 125 TimeZone tz = TimeZone.getFrozenTimeZone(zone); local 126 cal.setTimeZone(tz); 127 format.setTimeZone(tz);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResponseData.java | 254 String tz = SystemProperties.get("persist.sys.timezone", ""); local 255 if (TextUtils.isEmpty(tz)) { 258 TimeZone zone = TimeZone.getTimeZone(tz);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
EyePosition.java | 128 float tz = t * z; local 130 float length = (float) Math.sqrt(tx * tx + ty * ty + tz * tz);
|
/external/icu/icu4c/source/i18n/ |
tzgnames.cpp | 279 UnicodeString& getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, 311 UnicodeString& formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type, 429 TimeZone *tz = TimeZone::createDefault(); local 430 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 434 delete tz; 452 TZGNCore::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const { 457 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 465 formatGenericNonLocationName(tz, type, date, name); 467 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 591 TZGNCore::formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
DateFormatTest.java | 311 TimeZone tz = TimeZone.getTimeZone("EST"); local 312 df.setTimeZone(tz); 321 TimeZone tz = TimeZone.getTimeZone("EST"); local 322 df.setTimeZone(tz); 323 assertEquals(tz, df.getTimeZone());
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 165 String tz = Time.getCurrentTimezone(); local 170 mSelectedDay.switchTimezone(tz); 172 mFirstDayOfMonth.timezone = tz; 174 mFirstVisibleDay.timezone = tz; 176 mTempTime.timezone = tz;
|
/external/python/cpython3/Lib/ |
datetime.py | 3 See http://www.iana.org/time-zones/repository/tz-link.html for 308 def _check_tzinfo_arg(tz): 309 if tz is not None and not isinstance(tz, tzinfo): [all...] |
/libcore/ojluni/src/main/java/java/text/ |
SimpleDateFormat.java | 1288 TimeZone tz = calendar.getTimeZone(); local 1548 final TimeZone tz = getTimeZone(); local 1898 TimeZone tz = null; local 2709 TimeZone tz = getTimeZone(); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeZoneFormat.java | 285 * look for the IANA tz database compatible zone abbreviations in addition 798 * @param tz the time zone. 804 public final String format(Style style, TimeZone tz, long date) { 805 return format(style, tz, date, null); 816 * @param tz the time zone. 824 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeZoneFormat.java | 320 * look for the IANA tz database compatible zone abbreviations in addition [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 333 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU); local 334 if (tz == null) { 343 verifyTransitions(tz, timerange[0], timerange[1]); 363 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU); local 364 if (tz == null) { 369 TimeZoneRule[] rules = ((BasicTimeZone)tz).getTimeZoneRules(startTime); 370 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID() + "(RBTZ)", 380 compareTransitionsAscending(tz, rbtz, startTime, until, false); 382 compareTransitionsAscending(tz, rbtz, startTime + 1, until, true); 384 compareTransitionsDescending(tz, rbtz, startTime, until, false) 719 BasicTimeZone tz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); local 1470 TimeZone tz = TimeZone.getTimeZone("PST"); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 330 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU); local 331 if (tz == null) { 340 verifyTransitions(tz, timerange[0], timerange[1]); 360 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU); local 361 if (tz == null) { 366 TimeZoneRule[] rules = ((BasicTimeZone)tz).getTimeZoneRules(startTime); 367 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID() + "(RBTZ)", 377 compareTransitionsAscending(tz, rbtz, startTime, until, false); 379 compareTransitionsAscending(tz, rbtz, startTime + 1, until, true); 381 compareTransitionsDescending(tz, rbtz, startTime, until, false) 716 BasicTimeZone tz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); local 1467 TimeZone tz = TimeZone.getTimeZone("PST"); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
rfc822.py | 876 data.append('') # Dummy tz
880 [dd, mm, yy, tm, tz] = data
896 yy, tz = tz, yy
916 tz = tz.upper()
917 if tz in _timezones:
918 tzoffset = _timezones[tz]
921 tzoffset = int(tz)
988 tz = date[-1] variable [all...] |
/external/python/cpython2/Lib/ |
rfc822.py | 881 data.append('') # Dummy tz 885 [dd, mm, yy, tm, tz] = data 901 yy, tz = tz, yy 921 tz = tz.upper() 922 if tz in _timezones: 923 tzoffset = _timezones[tz] 926 tzoffset = int(tz) 993 tz = date[-1] variable [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
rfc822.py | 876 data.append('') # Dummy tz 880 [dd, mm, yy, tm, tz] = data 896 yy, tz = tz, yy 916 tz = tz.upper() 917 if tz in _timezones: 918 tzoffset = _timezones[tz] 921 tzoffset = int(tz) 988 tz = date[-1 variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
rfc822.py | 876 data.append('') # Dummy tz 880 [dd, mm, yy, tm, tz] = data 896 yy, tz = tz, yy 916 tz = tz.upper() 917 if tz in _timezones: 918 tzoffset = _timezones[tz] 921 tzoffset = int(tz) 988 tz = date[-1 variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rfc822.py | 876 data.append('') # Dummy tz 880 [dd, mm, yy, tm, tz] = data 896 yy, tz = tz, yy 916 tz = tz.upper() 917 if tz in _timezones: 918 tzoffset = _timezones[tz] 921 tzoffset = int(tz) 988 tz = date[-1 variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
rfc822.py | 876 data.append('') # Dummy tz 880 [dd, mm, yy, tm, tz] = data 896 yy, tz = tz, yy 916 tz = tz.upper() 917 if tz in _timezones: 918 tzoffset = _timezones[tz] 921 tzoffset = int(tz) 988 tz = date[-1 variable [all...] |
/prebuilts/tools/common/m2/repository/joda-time/joda-time/2.8.1/ |
joda-time-2.8.1.jar | |
/prebuilts/tools/common/m2/repository/joda-time/joda-time/2.9.1/ |
joda-time-2.9.1.jar | |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
GlobalizationPreferencesTest.java | 704 TimeZone tz = gp.getTimeZone(); local 705 String tzid = tz.getID(); 713 tz = gp.getTimeZone(); 714 tzid = tz.getID(); 722 tz = gp.getTimeZone(); 723 tzid = tz.getID(); 729 tz.setID("Bad_ID"); 730 tz = gp.getTimeZone(); 731 tzid = tz.getID(); 741 tz = gp.getTimeZone() 1303 TimeZone tz = TimeZone.getTimeZone("America\/Sao_Paulo"); local [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
GlobalizationPreferencesTest.java | 701 TimeZone tz = gp.getTimeZone(); local 702 String tzid = tz.getID(); 710 tz = gp.getTimeZone(); 711 tzid = tz.getID(); 719 tz = gp.getTimeZone(); 720 tzid = tz.getID(); 726 tz.setID("Bad_ID"); 727 tz = gp.getTimeZone(); 728 tzid = tz.getID(); 738 tz = gp.getTimeZone() 1300 TimeZone tz = TimeZone.getTimeZone("America\/Sao_Paulo"); local [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowTimeTest.java | 193 for (String tz : Arrays.asList("Europe/Berlin", "America/Los Angeles", "Australia/Adelaide")) { 194 String desc = "Eval when local timezone is " + tz; 195 TimeZone.setDefault(TimeZone.getTimeZone(tz)); 236 for (String tz : Arrays.asList("Europe/Berlin", "America/Los Angeles", "Australia/Adelaide")) { 237 String desc = "Eval when local timezone is " + tz; 238 TimeZone.setDefault(TimeZone.getTimeZone(tz));
|