/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
ICUZDump.java | 43 private TimeZoneImpl tz = null; field in class:ICUZDump 70 this.tz = new TimeZoneImpl(tzimpl); 82 if (tz == null) { 93 int offset = tz.getOffset(t); 94 boolean inDst = tz.inDaylightTime(t); 97 int newOffset = tz.getOffset(newt); 98 boolean newInDst = tz.inDaylightTime(newt); 109 int medOffset = tz.getOffset(medt); 110 boolean medInDst = tz.inDaylightTime(medt); 117 w.write(formatter.format(lot, offset, tz.inDaylightTime(lot))) [all...] |
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
matrixop.h | 27 // mat = TranslateMatrix(tx, ty, tz) * mat 29 float tx, float ty, float tz);
|
/external/icu/icu4c/source/i18n/ |
tzgnames.h | 50 UnicodeString& getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type,
|
/system/connectivity/shill/net/ |
shill_time.h | 71 virtual int GetTimeOfDay(struct timeval* tv, struct timezone* tz);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
message_types.py | 93 tz=timezone) 106 tz=value.tzinfo)
|
/external/pdfium/xfa/src/fxfa/src/parser/ |
xfa_locale.h | 26 virtual void GetTimeZone(FX_TIMEZONE& tz) const;
66 virtual void GetTimeZone(FX_TIMEZONE& tz) const;
|
/libcore/luni/src/main/java/libcore/icu/ |
RelativeDateTimeFormatter.java | 91 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, 96 return getRelativeTimeSpanString(locale, tz, time, now, minResolution, flags, displayContext); 99 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, 104 if (tz == null) { 105 throw new NullPointerException("tz == null"); 108 android.icu.util.TimeZone icuTimeZone = DateUtilsBridge.icuTimeZone(tz); 260 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, 266 if (tz == null) { 267 throw new NullPointerException("tz == null"); 270 android.icu.util.TimeZone icuTimeZone = DateUtilsBridge.icuTimeZone(tz); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 114 final TimeZone tz = TimeZone.getDefault(); local 115 mSelectedTimeZone = tz; 117 mTimeZoneButton.setText(tz.getDisplayName()); 234 final TimeZone tz = ZonePicker.obtainTimeZoneFromItem(parent.getItemAtPosition(position)); local 236 mSelectedTimeZone = tz; 237 final Calendar now = Calendar.getInstance(tz); 239 mTimeZoneButton.setText(tz.getDisplayName()); 249 alarm.setTimeZone(tz.getID());
|
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo_unix.go | 30 // /usr/share/lib/zoneinfo, IRIX 6 has /usr/lib/locale/TZ. 34 "/usr/lib/locale/TZ/", 51 // consult $TZ to find the time zone to use. 52 // no $TZ means use the system default /etc/localtime. 53 // $TZ="" means use UTC. 54 // $TZ="foo" means use /usr/share/zoneinfo/foo. 56 tz, ok := syscall.Getenv("TZ") 65 case tz != "" && tz != "UTC" [all...] |
/prebuilts/go/linux-x86/src/time/ |
zoneinfo_unix.go | 30 // /usr/share/lib/zoneinfo, IRIX 6 has /usr/lib/locale/TZ. 34 "/usr/lib/locale/TZ/", 51 // consult $TZ to find the time zone to use. 52 // no $TZ means use the system default /etc/localtime. 53 // $TZ="" means use UTC. 54 // $TZ="foo" means use /usr/share/zoneinfo/foo. 56 tz, ok := syscall.Getenv("TZ") 65 case tz != "" && tz != "UTC" [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug336.go | 68 tz struct{ z *struct{ Next *T11 } } 77 tz.z = &tn 78 tpz = &tz
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug336.go | 68 tz struct{ z *struct{ Next *T11 } } 77 tz.z = &tn 78 tpz = &tz
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ZoneMeta.java | 345 public static String getCanonicalCLDRID(TimeZone tz) { 346 if (tz instanceof OlsonTimeZone) { 347 return ((OlsonTimeZone)tz).getCanonicalID(); 349 return getCanonicalCLDRID(tz.getID()); 553 OlsonTimeZone tz = null; local 559 tz = new OlsonTimeZone(top, res, data); 560 tz.freeze(); 565 return tz; 601 SimpleTimeZone tz = new SimpleTimeZone(offset, id); local 602 tz.freeze() [all...] |
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); 319 * @param tz the requested time zone 326 private String formatGenericNonLocationName(TimeZone tz, GenericNameType type, long date) { 328 String tzID = ZoneMeta.getCanonicalCLDRID(tz); [all...] |
JavaTimeZone.java | 261 JavaTimeZone tz = (JavaTimeZone)super.cloneAsThawed(); local 262 tz.javatz = (java.util.TimeZone)javatz.clone(); 263 tz.javacal = (java.util.GregorianCalendar)javacal.clone(); 264 tz.isFrozen = false; 265 return tz;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ZoneMeta.java | 344 public static String getCanonicalCLDRID(TimeZone tz) { 345 if (tz instanceof OlsonTimeZone) { 346 return ((OlsonTimeZone)tz).getCanonicalID(); 348 return getCanonicalCLDRID(tz.getID()); 552 OlsonTimeZone tz = null; local 558 tz = new OlsonTimeZone(top, res, data); 559 tz.freeze(); 564 return tz; 600 SimpleTimeZone tz = new SimpleTimeZone(offset, id); local 601 tz.freeze() [all...] |
TimeZoneGenericNames.java | 156 TimeZone tz = TimeZone.getDefault(); local 157 String tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz); 187 * @param tz the time zone 193 public String getDisplayName(TimeZone tz, GenericNameType type, long date) { 198 tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz); 205 name = formatGenericNonLocationName(tz, type, date); 207 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...] |
JavaTimeZone.java | 259 JavaTimeZone tz = (JavaTimeZone)super.cloneAsThawed(); local 260 tz.javatz = (java.util.TimeZone)javatz.clone(); 261 tz.javacal = (java.util.GregorianCalendar)javacal.clone(); 262 tz.isFrozen = false; 263 return tz;
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 163 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local 164 assertEquals("-0800", formatDate(Locale.ENGLISH, "Z", tz)); 165 assertEquals("-0800", formatDate(Locale.ENGLISH, "ZZ", tz)); 166 assertEquals("-0800", formatDate(Locale.ENGLISH, "ZZZ", tz)); 167 assertEquals("GMT-08:00", formatDate(Locale.ENGLISH, "ZZZZ", tz)); 168 assertEquals("-08:00", formatDate(Locale.ENGLISH, "ZZZZZ", tz)); 206 private String formatDate(Locale l, String fmt, TimeZone tz) { 208 dateFormat.setTimeZone(tz); 449 TimeZone tz = TimeZone.getTimeZone("UTC"); local 451 df.setTimeZone(tz); 459 TimeZone tz = TimeZone.getTimeZone(zoneStrings[0][0]); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
TimeZoneFormatTest.java | 153 TimeZone tz = TimeZone.getTimeZone(tzids[tzidx]); local 157 sdf.setTimeZone(tz); 176 tz.getOffset(DATES[datidx].getTime(), false, inOffsets); 187 logln("Canonical round trip failed (probably as expected); tz=" + tzids[tzidx] 193 errln("Canonical round trip failed; tz=" + tzids[tzidx] 202 errln("Zone ID round trip failed; tz=" + tzids[tzidx] 214 if ((tz instanceof BasicTimeZone) && (outtz instanceof BasicTimeZone)) { 217 && !((BasicTimeZone)outtz).hasEquivalentTransitions(tz, low, high); 220 errln("Canonical round trip failed; tz=" + tzids[tzidx] 225 logln("Canonical round trip failed (as expected); tz=" + tzids[tzidx 418 TimeZone tz = TimeZone.getTimeZone(id); local 644 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); local 808 SimpleTimeZone tz = new SimpleTimeZone(OFFSET[i], "Zone Offset:" + String.valueOf(OFFSET[i]) + "ms"); local 929 TimeZone tz = TimeZone.getTimeZone((String)testCase[1]); local 1024 TimeZone tz = TimeZone.getTimeZone((String)testCase[1]); local 1039 TimeZone tz = TimeZone.getTimeZone("America\/Los_Angeles"); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
TimeZoneFormatTest.java | 149 TimeZone tz = TimeZone.getTimeZone(tzids[tzidx]); local 153 sdf.setTimeZone(tz); 172 tz.getOffset(DATES[datidx].getTime(), false, inOffsets); 183 logln("Canonical round trip failed (probably as expected); tz=" + tzids[tzidx] 189 errln("Canonical round trip failed; tz=" + tzids[tzidx] 198 errln("Zone ID round trip failed; tz=" + tzids[tzidx] 210 if ((tz instanceof BasicTimeZone) && (outtz instanceof BasicTimeZone)) { 213 && !((BasicTimeZone)outtz).hasEquivalentTransitions(tz, low, high); 216 errln("Canonical round trip failed; tz=" + tzids[tzidx] 221 logln("Canonical round trip failed (as expected); tz=" + tzids[tzidx 414 TimeZone tz = TimeZone.getTimeZone(id); local 640 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); local 804 SimpleTimeZone tz = new SimpleTimeZone(OFFSET[i], "Zone Offset:" + String.valueOf(OFFSET[i]) + "ms"); local 925 TimeZone tz = TimeZone.getTimeZone((String)testCase[1]); local 1020 TimeZone tz = TimeZone.getTimeZone((String)testCase[1]); local 1035 TimeZone tz = TimeZone.getTimeZone("America\/Los_Angeles"); local [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 71 String golden, String advanceTo, String tz) throws Exception { 72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz); 85 * @param tz The time zone. UTC is used if null is passed in. 89 String golden, String advanceTo, String endAt, String tz) throws Exception { 98 Time dtstart = new Time(tz); 99 Time rangeStart = new Time(tz); 100 Time rangeEnd = new Time(tz); 101 Time outCal = new Time(tz); [all...] |
/external/e2fsprogs/debugfs/ |
util.c | 196 const char *tz; local 199 /* The diet libc doesn't respect the TZ environemnt variable */ 200 tz = ss_safe_getenv("TZ"); 201 if (!tz) 202 tz = ""; 203 do_gmt = !strcmp(tz, "GMT");
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
TimeZoneJDK.java | 225 TimeZoneJDK tz = (TimeZoneJDK)super.cloneAsThawed(); local 226 tz.fJdkTz = (TimeZone)fJdkTz.clone(); 227 tz.fJdkCal = null; // To be instantiated when necessary 228 tz.fIsFrozen = false; 229 return tz;
|
/frameworks/base/rs/java/android/renderscript/ |
AllocationAdapter.java | 46 int tz = mAdaptedAllocation.mType.getZ(); local 49 if ((tx==1) && (ty == 1) && (tz == 1)) { 55 if (tz > 1) tz >>= 1; 60 mCurrentDimZ = tz;
|