HomeSort by relevance Sort by last modified time
    Searched defs:tz (Results 26 - 50 of 121) sorted by null

12 3 4 5

  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 95 // This time zone has no DST, but earlier, buggy code retrieved a TZ WITH DST
136 TimeZone tz = CalendarUtilities.tziStringToTimeZone(AMERICA_DAWSON_TIME); local
137 assertEquals("America/Dawson", tz.getID());
138 tz = CalendarUtilities.tziStringToTimeZone(ASIA_CALCUTTA_TIME);
139 assertEquals("Asia/Calcutta", tz.getID());
140 tz = CalendarUtilities.tziStringToTimeZone(AUSTRALIA_ACT_TIME);
141 assertEquals("Australia/ACT", tz.getID());
145 // when the tz isn't found
146 tz = CalendarUtilities.tziStringToTimeZoneImpl(LENIENT_EASTERN_TIME,
148 assertEquals("America/Atikokan", tz.getID())
615 TimeZone tz = TimeZone.getTimeZone("US\/Central"); local
859 TimeZone tz = TimeZone.getTimeZone(tzs); local
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 95 // This time zone has no DST, but earlier, buggy code retrieved a TZ WITH DST
136 TimeZone tz = CalendarUtilities.tziStringToTimeZone(AMERICA_DAWSON_TIME); local
137 assertEquals("America/Dawson", tz.getID());
138 tz = CalendarUtilities.tziStringToTimeZone(ASIA_CALCUTTA_TIME);
139 assertEquals("Asia/Calcutta", tz.getID());
140 tz = CalendarUtilities.tziStringToTimeZone(AUSTRALIA_ACT_TIME);
141 assertEquals("Australia/ACT", tz.getID());
145 // when the tz isn't found
146 tz = CalendarUtilities.tziStringToTimeZoneImpl(LENIENT_EASTERN_TIME,
148 assertEquals("America/Atikokan", tz.getID())
615 TimeZone tz = TimeZone.getTimeZone("US\/Central"); local
859 TimeZone tz = TimeZone.getTimeZone(tzs); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DateTimeSettingsSetupWizard.java 120 final TimeZone tz = TimeZone.getDefault(); local
121 mSelectedTimeZone = tz;
123 mTimeZoneButton.setText(tz.getDisplayName());
124 // mTimeZoneButton.setText(DateTimeSettings.getTimeZoneText(tz));
240 final TimeZone tz = ZonePicker.obtainTimeZoneFromItem(parent.getItemAtPosition(position)); local
242 mSelectedTimeZone = tz;
243 final Calendar now = Calendar.getInstance(tz);
245 mTimeZoneButton.setText(tz.getDisplayName());
247 // mTimeZoneButton.setText(DateTimeSettings.getTimeZoneText(tz));
256 alarm.setTimeZone(tz.getID())
    [all...]
  /dalvik/tests/092-locale/src/
Main.java 66 TimeZone tz = TimeZone.getTimeZone("GMT"); local
69 Calendar usaCal = Calendar.getInstance(tz, usa);
75 fmt.setTimeZone(tz); // defaults to local TZ; force GMT
85 Calendar franceCal = Calendar.getInstance(tz, france);
91 fmt.setTimeZone(tz); // defaults to local TZ; force GMT
  /external/e2fsprogs/debugfs/
util.c 195 const char *tz; local
198 /* The diet libc doesn't respect the TZ environemnt variable */
199 tz = getenv("TZ");
200 if (!tz)
201 tz = "";
202 do_gmt = !strcmp(tz, "GMT");
  /external/icu4c/test/intltest/
windttst.cpp 76 const TimeZone *tz = TimeZone::createDefault(); local
79 tz->getID(zoneID);
191 delete tz;
astrotst.cpp 216 // TimeZone *tz = TimeZone::createTimeZone("America/Los_Angeles");
267 // TimeZone tz = TimeZone.getTimeZone("America/Montreal");
268 TimeZone *tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); local
270 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
285 df_t->adoptTimeZone(tz->clone());
286 df_d->adoptTimeZone(tz->clone());
287 df_dt->adoptTimeZone(tz->clone());
361 delete tz;
dtfmapts.cpp 243 const TimeZone& tz = def->getTimeZone(); local
244 TimeZone *newTz = tz.clone();
dtfmtrtts.cpp 147 TimeZone *tz = TimeZone::createDefault(); local
149 logln("Default TimeZone: " + tz->getID(temp));
150 delete tz;
tzbdtest.cpp 116 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz)
122 if (tz->inDaylightTime(d, status) != startsInDST) {
123 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "false"));
127 if (tz->inDaylightTime(max, status) == startsInDST) {
128 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "true"));
134 UBool isIn = tz->inDaylightTime(mid, status);
143 logln(tz->getID(str) + " Before: " + showDate(min));
144 logln(tz->getID(str) + " After: " + showDate(max));
337 TimeZone *tz; local
338 TimeZone::setDefault(*(tz = TimeZone::createTimeZone("PST")))
425 SimpleTimeZone *tz; local
    [all...]
  /external/netperf/
netcpu_kstat.c 271 struct timezone tz; local
291 gettimeofday (&time1, &tz);
293 gettimeofday (&time2, &tz);
netcpu_perfstat.c 137 struct timezone tz; local
192 gettimeofday (&time1, &tz);
194 gettimeofday (&time2, &tz);
netcpu_pstat.c 122 struct timezone tz; local
158 gettimeofday (&time1, &tz);
160 gettimeofday (&time2, &tz);
netcpu_looper.c 507 struct timezone tz;
520 gettimeofday (&time1, &tz);
522 gettimeofday (&time2, &tz);
506 struct timezone tz; local
  /frameworks/base/graphics/java/android/renderscript/
AllocationAdapter.java 106 int tz = mAdaptedAllocation.mType.getZ(); local
109 if ((tx==1) && (ty == 1) && (tz == 1)) {
115 if (tz > 1) tz >>= 1;
120 mCurrentDimZ = tz;
  /frameworks/base/telephony/java/com/android/internal/telephony/cat/
ResponseData.java 240 String tz = SystemProperties.get("persist.sys.timezone", ""); local
241 if (TextUtils.isEmpty(tz)) {
244 TimeZone zone = TimeZone.getTimeZone(tz);
  /hardware/ti/omap3/dspbridge/libbridge/
DSPNode.c 418 struct timezone tz; local
466 struct timezone tz; local
652 struct timezone tz; local
760 struct timeval tz; local
  /libcore/luni/src/main/native/
libcore_icu_TimeZones.cpp 63 TimeZone* tz; member in struct:TimeZoneNames
141 row.tz = NULL;
148 row.tz = TimeZone::createTimeZone(id);
149 longFormat.setTimeZone(*row.tz);
150 shortFormat.setTimeZone(*row.tz);
154 row.tz->getOffset(date1, false, rawOffset, daylightOffset, status);
167 if (row.tz->useDaylightTime()) {
190 allShortFormat.setTimeZone(*row.tz);
192 if (row.tz->useDaylightTime()) {
219 delete row.tz;
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
CalendarTest.java 47 TimeZone tz = java.util.TimeZone.getTimeZone("GMT+7"); local
48 cal.setTimeZone(tz);
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertAdapter.java 113 String tz = Utils.getTimeZone(context, null); local
117 tz = Time.TIMEZONE_UTC;
125 Time time = new Time(tz);
130 if (!allDay && tz != Time.getCurrentTimezone()) {
131 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
  /libcore/luni/src/main/java/java/util/
Date.java 697 TimeZone tz = cal.getTimeZone(); local
711 result.append(tz.getDisplayName(tz.inDaylightTime(this), TimeZone.SHORT));
  /bionic/libc/tools/zoneinfo/
ZoneCompactor.java 110 TimeZone tz = ZoneInfo.make(s, data); local
111 int gmtOffset = tz.getRawOffset();
  /external/guava/guava/src/com/google/common/math/
BigIntegerMath.java 317 int tz = Long.numberOfTrailingZeros(num); local
318 long normalizedNum = num >> tz;
319 shift += tz;
321 int normalizedBits = bits - tz;
  /external/icu4c/i18n/
windtfmt.cpp 153 const TimeZone &tz = cal.getTimeZone(); local
156 setTimeZoneInfo(&tzi, tz);
  /external/qemu/android/utils/
timezone.c 44 check_timezone_is_zoneinfo(const char* tz)
48 if (tz == NULL)
52 slash1 = strchr( tz, '/' );
88 const char* tz = get_zoneinfo_timezone(); local
90 if (tz == NULL || !check_timezone_is_zoneinfo(tz))
93 return bufprint(p, end, "%s", tz);
109 const char* tz = getenv("TZ"); local
113 if (tz == NULL)
295 const char* tz = getenv( "TZ" ); local
    [all...]

Completed in 2010 milliseconds

12 3 4 5