HomeSort by relevance Sort by last modified time
    Searched defs:tz (Results 126 - 150 of 450) sorted by null

1 2 3 4 56 7 8 91011>>

  /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/android_icu4j/src/main/java/android/icu/impl/
TimeZoneGenericNames.java 160 TimeZone tz = TimeZone.getDefault(); local
161 String tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz);
191 * @param tz the time zone
197 public String getDisplayName(TimeZone tz, GenericNameType type, long date) {
202 tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz);
209 name = formatGenericNonLocationName(tz, type, date);
211 tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz);
319 * @param tz the requested time zone
326 private String formatGenericNonLocationName(TimeZone tz, GenericNameType type, long date) {
328 String tzID = ZoneMeta.getCanonicalCLDRID(tz);
    [all...]
ZoneMeta.java 347 public static String getCanonicalCLDRID(TimeZone tz) {
348 if (tz instanceof OlsonTimeZone) {
349 return ((OlsonTimeZone)tz).getCanonicalID();
351 return getCanonicalCLDRID(tz.getID());
555 OlsonTimeZone tz = null; local
561 tz = new OlsonTimeZone(top, res, data);
562 tz.freeze();
567 return tz;
603 SimpleTimeZone tz = new SimpleTimeZone(offset, id); local
604 tz.freeze()
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TimeZoneGenericNames.java 158 TimeZone tz = TimeZone.getDefault(); local
159 String tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz);
189 * @param tz the time zone
195 public String getDisplayName(TimeZone tz, GenericNameType type, long date) {
200 tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz);
207 name = formatGenericNonLocationName(tz, type, date);
209 tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz);
317 * @param tz the requested time zone
324 private String formatGenericNonLocationName(TimeZone tz, GenericNameType type, long date) {
326 String tzID = ZoneMeta.getCanonicalCLDRID(tz);
    [all...]
ZoneMeta.java 346 public static String getCanonicalCLDRID(TimeZone tz) {
347 if (tz instanceof OlsonTimeZone) {
348 return ((OlsonTimeZone)tz).getCanonicalID();
350 return getCanonicalCLDRID(tz.getID());
554 OlsonTimeZone tz = null; local
560 tz = new OlsonTimeZone(top, res, data);
561 tz.freeze();
566 return tz;
602 SimpleTimeZone tz = new SimpleTimeZone(offset, id); local
603 tz.freeze()
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 177 TimeZone tz = AMERICA_LOS_ANGELES; local
178 assertEquals("-0800", formatDate(Locale.ENGLISH, "Z", tz));
179 assertEquals("-0800", formatDate(Locale.ENGLISH, "ZZ", tz));
180 assertEquals("-0800", formatDate(Locale.ENGLISH, "ZZZ", tz));
181 assertEquals("GMT-08:00", formatDate(Locale.ENGLISH, "ZZZZ", tz));
182 assertEquals("-08:00", formatDate(Locale.ENGLISH, "ZZZZZ", tz));
219 private String formatDate(Locale l, String fmt, TimeZone tz) {
221 dateFormat.setTimeZone(tz);
242 private static Calendar parseDate(Locale l, String fmt, String value, TimeZone tz) {
244 sdf.setTimeZone(tz);
498 TimeZone tz = TimeZone.getTimeZone(zoneStrings[0][0]); local
512 TimeZone tz = TimeZone.getTimeZone(zoneStrings[0][0]); local
    [all...]
  /art/tools/dmtracedump/
createtesttrace.cc 340 struct timezone tz; local
342 gettimeofday(&tv, &tz);
  /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/icu/android_icu4j/src/main/java/android/icu/util/
RuleBasedTimeZone.java 758 RuleBasedTimeZone tz = (RuleBasedTimeZone)super.cloneAsThawed(); local
760 tz.historicRules = new ArrayList<TimeZoneRule>(historicRules); // rules are immutable
763 tz.finalRules = finalRules.clone();
765 tz.isFrozen = false;
766 return tz;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
AstroTest.java 197 // TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
247 // TimeZone tz = TimeZone.getTimeZone("America/Montreal");
248 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); local
250 GregorianCalendar cal = new GregorianCalendar(tz, Locale.US);
251 GregorianCalendar cal2 = new GregorianCalendar(tz, Locale.US);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateFormatRegressionTestJ.java 298 TimeZone tz = TimeZone.getTimeZone("PST"); local
299 sdf.setTimeZone(tz);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneBoundaryTest.java 148 long expectedBoundary, TimeZone tz)
158 if (tz.inDaylightTime(d) != startsInDST)
160 errln("FAIL: " + tz.getID() + " inDaylightTime(" +
165 if (tz.inDaylightTime(new Date(max)) == startsInDST)
167 errln("FAIL: " + tz.getID() + " inDaylightTime(" +
175 boolean isIn = tz.inDaylightTime(new Date(mid));
186 logln(tz.getID() + " Before: " + showDate(min, tz));
187 logln(tz.getID() + " After: " + showDate(max, tz));
736 SimpleTimeZone tz; local
    [all...]
TimeZoneTest.java 475 TimeZone tz = TimeZone.getTimeZone(timezones[i]); local
476 String displayName0 = tz.getDisplayName(locale);
478 dt.setTimeZone(tz);
480 logln(locale.getDisplayName() + ", " + tz.getID() + ": " + displayName0);
486 if (tz.inDaylightTime(now)) {
488 displayName0 = tz.getDisplayName(true, TimeZone.LONG_GENERIC, locale);
491 errln(locale.getDisplayName() + ", " + tz.getID() +
645 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary)
648 boolean startsInDST = tz.inDaylightTime(new Date(min));
650 if (tz.inDaylightTime(new Date(max)) == startsInDST)
684 TimeZone tz = TimeZone.getTimeZone( "PRT" ); local
750 TimeZone tz = TimeZone.getTimeZone("PST"); local
849 TimeZone tz = TimeZone.getTimeZone(id); local
885 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", local
933 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "alternateRuleTest"); local
1400 TimeZone tz = TimeZone.getTimeZone(tzid); local
1488 TimeZone tz; local
2185 TimeZone tz = TimeZone.getTimeZone(tzid, TimeZone.TIMEZONE_ICU); local
    [all...]
  /external/icu/icu4c/source/i18n/
ucal.cpp 215 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); local
217 tz.getID(id);
232 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); local
242 tz.getDisplayName(FALSE, TimeZone::LONG, Locale(locale), id);
246 tz.getDisplayName(FALSE, TimeZone::SHORT, Locale(locale), id);
250 tz.getDisplayName(TRUE, TimeZone::LONG, Locale(locale), id);
254 tz.getDisplayName(TRUE, TimeZone::SHORT, Locale(locale), id);
755 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); local
756 const BasicTimeZone * btz = dynamic_cast<const BasicTimeZone *>(&tz);
  /external/icu/icu4c/source/tools/tzcode/
icuzdump.cpp 119 void setTimeZone(TimeZone* tz) {
120 timezone = tz;
240 TimeZone* tz = NULL; local
245 tz = TimeZone::createTimeZone(*zid);
251 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]);
254 tz = TimeZone::createDefault();
259 return tz;
376 TimeZone* tz = zit->next(); local
377 if (tz == NULL) {
380 dumper.setTimeZone(tz);
407 TimeZone* tz = zit->next(); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
BasicTimeZone.java 73 * @param tz The instance of <code>TimeZone</code>
78 * time range. When tz is not a <code>BasicTimeZone</code>, this method
83 public boolean hasEquivalentTransitions(TimeZone tz, long start, long end) {
84 return hasEquivalentTransitions(tz, start, end, false);
93 * @param tz The instance of <code>TimeZone</code>
103 * time range. When tz is not a <code>BasicTimeZone</code>, this method
108 public boolean hasEquivalentTransitions(TimeZone tz, long start, long end,
110 if (this == tz) {
114 if (!(tz instanceof BasicTimeZone)) {
123 tz.getOffset(start, false, offsets2)
    [all...]
RuleBasedTimeZone.java 786 RuleBasedTimeZone tz = (RuleBasedTimeZone)super.cloneAsThawed(); local
788 tz.historicRules = new ArrayList<TimeZoneRule>(historicRules); // rules are immutable
791 tz.finalRules = finalRules.clone();
793 tz.isFrozen = false;
794 return tz;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
AstroTest.java 194 // TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
244 // TimeZone tz = TimeZone.getTimeZone("America/Montreal");
245 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); local
247 GregorianCalendar cal = new GregorianCalendar(tz, Locale.US);
248 GregorianCalendar cal2 = new GregorianCalendar(tz, Locale.US);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateFormatRegressionTestJ.java 295 TimeZone tz = TimeZone.getTimeZone("PST"); local
296 sdf.setTimeZone(tz);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneBoundaryTest.java 145 long expectedBoundary, TimeZone tz)
155 if (tz.inDaylightTime(d) != startsInDST)
157 errln("FAIL: " + tz.getID() + " inDaylightTime(" +
162 if (tz.inDaylightTime(new Date(max)) == startsInDST)
164 errln("FAIL: " + tz.getID() + " inDaylightTime(" +
172 boolean isIn = tz.inDaylightTime(new Date(mid));
183 logln(tz.getID() + " Before: " + showDate(min, tz));
184 logln(tz.getID() + " After: " + showDate(max, tz));
733 SimpleTimeZone tz; local
    [all...]
TimeZoneTest.java 472 TimeZone tz = TimeZone.getTimeZone(timezones[i]); local
473 String displayName0 = tz.getDisplayName(locale);
475 dt.setTimeZone(tz);
477 logln(locale.getDisplayName() + ", " + tz.getID() + ": " + displayName0);
483 if (tz.inDaylightTime(now)) {
485 displayName0 = tz.getDisplayName(true, TimeZone.LONG_GENERIC, locale);
488 errln(locale.getDisplayName() + ", " + tz.getID() +
642 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary)
645 boolean startsInDST = tz.inDaylightTime(new Date(min));
647 if (tz.inDaylightTime(new Date(max)) == startsInDST)
681 TimeZone tz = TimeZone.getTimeZone( "PRT" ); local
747 TimeZone tz = TimeZone.getTimeZone("PST"); local
846 TimeZone tz = TimeZone.getTimeZone(id); local
882 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", local
930 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "alternateRuleTest"); local
1397 TimeZone tz = TimeZone.getTimeZone(tzid); local
1485 TimeZone tz; local
2182 TimeZone tz = TimeZone.getTimeZone(tzid, TimeZone.TIMEZONE_ICU); local
    [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...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTime.java 190 TimeZone tz; local
193 tz = TimeZone.getTimeZone("UTC");
195 tz = TimeZone.getTimeZone(time.timezone);
199 df.setTimeZone(tz);
200 dfShort.setTimeZone(tz);
201 time.timezone = tz.getID();
211 return "UTC".equals(tz.getID());
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowTime.java 204 TimeZone tz; local
207 tz = TimeZone.getTimeZone("UTC");
209 tz = TimeZone.getTimeZone(time.timezone);
213 df.setTimeZone(tz);
214 dfShort.setTimeZone(tz);
215 time.timezone = tz.getID();
225 return "UTC".equals(tz.getID());
258 final TimeZone tz = TimeZone.getTimeZone(time.timezone); local
262 formatter.setTimeZone(tz);
263 Calendar calendar = Calendar.getInstance(tz, Locale.getDefault())
    [all...]
  /external/tensorflow/tensorflow/core/framework/
tensor_test.cc 1186 auto tz = z.tensor<float, 3>(); local
    [all...]

Completed in 5330 milliseconds

1 2 3 4 56 7 8 91011>>