/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
GregorianCalendarTest.java | 333 TimeZone tz = TimeZone.getTimeZone(ids[i]); local 334 gc.setTimeZone(tz);
|
/external/icu4c/test/intltest/ |
tztest.cpp | 230 TimeZoneTest::findTransition(const TimeZone& tz, 234 UBool startsInDST = tz.inDaylightTime(min, ec); 236 if (tz.inDaylightTime(max, ec) == startsInDST) { 237 logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE") + 244 if (tz.inDaylightTime(mid, ec) == startsInDST) { 253 logln(tz.getID(id) + " Before: " + min/1000 + " = " + 254 dateToString(min,s,tz)); 255 logln(tz.getID(id) + " After: " + max/1000 + " = " + 256 dateToString(max,s,tz)); 260 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, 306 TimeZone* tz = TimeZone::createTimeZone("PRT"); local 496 TimeZone *tz = TimeZone::createTimeZone("PST"); local 690 TimeZone *tz = TimeZone::createTimeZone(*id1); local [all...] |
tzregts.cpp | 87 UDate TimeZoneRegressionTest::findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max) { 89 UBool startsInDST = tz.inDaylightTime(min, status); 91 if (tz.inDaylightTime(max, status) == startsInDST) { 98 if (tz.inDaylightTime(mid, status) == startsInDST) { 108 UDate TimeZoneRegressionTest::findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max) { 110 UBool startsInDST = tz.inDaylightTime(min, status); 113 if (tz.inDaylightTime(min, status) != startsInDST) { 209 TimeZone *tz = TimeZone::createTimeZone("PST"); local 211 int32_t offset1 = tz->getOffset(1, 213 int32_t offset2 = tz->getOffset(1 460 TimeZone *tz = TimeZone::createTimeZone("PST"); local 805 TimeZone *tz = TimeZone::createDefault(); local 883 TimeZone *tz = (TimeZone*)DATA_TZ[j]; local [all...] |
tzrulets.cpp | 622 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 626 verifyTransitions(*tz, lo, hi); 628 delete tz; 657 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 658 int32_t ruleCount = tz->countTransitionRules(status); 662 tz->getTimeZoneRules(initial, trsrules, ruleCount, status); 687 compareTransitionsAscending(*tz, *rbtz, start, until, FALSE); 689 compareTransitionsAscending(*tz, *rbtz, start + 1, until, TRUE); 691 compareTransitionsDescending(*tz, *rbtz, start, until, FALSE); 693 compareTransitionsDescending(*tz, *rbtz, start + 1, until, TRUE) 794 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 894 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 1130 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 2307 const TimeZone *tz = TimeZone::getGMT(); local [all...] |
/external/openssh/ |
auth-pam.c | 440 char *tz = getenv("TZ"); local 446 if (tz != NULL) 447 if (setenv("TZ", tz, 1) == -1) 448 error("PAM: could not set TZ environment: %s",
|
/frameworks/base/media/java/android/media/ |
Metadata.java | 492 TimeZone tz = TimeZone.getTimeZone(timeZone); local 493 Calendar cal = Calendar.getInstance(tz);
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
RecurrenceSet.java | 142 String tz = Time.TIMEZONE_UTC; local 145 tz = recurrence.substring(0, tzidx); 148 Time time = new Time(tz); 163 time.timezone = tz; 441 String tz = null; local 444 tz = dateStr.substring(0, tzidx); 447 if (!TextUtils.isEmpty(tz)) { 448 prop.addParameter(new ICalendar.Parameter("TZID", tz));
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
RecurrenceProcessorTest.java | 88 String tz = "America/Los_Angeles"; local 89 Time dtstart = new Time(tz); 90 Time rangeStart = new Time(tz); 91 Time rangeEnd = new Time(tz); 92 Time outCal = new Time(tz); 156 Time expectedLast = new Time(tz); 2454 String tz = "America\/Los_Angeles"; local 2500 String tz = "America\/Los_Angeles"; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GeneralPreferences.java | 160 String tz = mHomeTZ.getValue(); local 166 mTimezones = (new TimezoneAdapter(activity, tz, System.currentTimeMillis())) 239 String tz; local 242 tz = mHomeTZ.getValue(); 244 tz = CalendarCache.TIMEZONE_TYPE_AUTO; 246 Utils.setTimeZone(getActivity(), tz); local 256 tz = (String) newValue; 258 mHomeTZ.setValue(tz); 260 Utils.setTimeZone(getActivity(), tz); local
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 202 // home tz changes so check it here and update if needed. 203 String tz = Utils.getTimeZone(mContext, mTZUpdater); local 204 if (!TextUtils.equals(tz, mTmpTime.timezone)) { 205 mTimeZone = tz; 206 mTmpTime = new Time(tz);
|
/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;
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
UtilsTests.java | 131 private void setTimezone(String tz) { 132 timezoneUtils.setTimeZone(dbUtils.getContext(), tz); local
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 366 /* package */ static String getTimeZoneText(TimeZone tz) { 367 boolean daylight = tz.inDaylightTime(new Date()); 370 sb.append(formatOffset(tz.getRawOffset() + 371 (daylight ? tz.getDSTSavings() : 0))). 373 append(tz.getDisplayName(daylight, TimeZone.LONG));
|
/system/core/init/ |
builtins.c | 613 struct timezone tz; local 618 memset(&tz, 0, sizeof(tz)); 619 tz.tz_minuteswest = atoi(args[1]); 620 if (settimeofday(NULL, &tz))
|
/external/icu4c/i18n/ |
tzgnames.cpp | 377 TimeZone *tz = TimeZone::createDefault(); local 378 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 382 delete tz; 408 TimeZoneGenericNames::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const { 413 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 421 formatGenericNonLocationName(tz, type, date, name); 423 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 558 TimeZoneGenericNames::formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const { 562 const UChar* uID = ZoneMeta::getCanonicalCLDRID(tz); 585 tz.getOffset(date, FALSE, raw, sav, status) [all...] |
smpdtfmt.cpp | 1725 const TimeZone& tz = cal.getTimeZone(); local 2079 const TimeZone & tz = cal.getTimeZone(); local 3066 TimeZone *tz = TimeZone::createTimeZone(UNICODE_STRING("Etc\/GMT", 7)); local 3114 TimeZone *tz = TimeZone::createTimeZone(parsedID); local 3123 TimeZone *tz = TimeZone::createTimeZone(UNICODE_STRING("Etc\/GMT", 7)); local [all...] |
timezone.cpp | 199 U_DEBUG_TZ_MSG(("tz: compare to %s, %d .. [%d] .. %d\n", U_DEBUG_TZ_STR(u), start, mid, limit)); 469 uprv_tzset(); // Initialize tz... system data 1286 SimpleTimeZone *tz = NULL; local [all...] |
tznames_impl.cpp | 987 TimeZone *tz = TimeZone::createDefault(); local 988 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 992 delete tz; [all...] |
/external/mksh/src/ |
main.c | 112 struct timezone tz; member in struct:__anon9739 132 gettimeofday(&bufptr->tv, &bufptr->tz); [all...] |
/frameworks/base/opengl/java/android/opengl/ |
Matrix.java | 283 final float tz = -(far + near) * r_depth; local 289 m[mOffset +14] = tz;
|
/frameworks/native/opengl/libagl/ |
matrix.cpp | 873 const GLfloat tz = -(zFar + zNear) * r_depth; local 880 f[14] = tz;
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventFragment.java | 713 // user's current tz 714 String tz = Utils.getTimeZone(mContext, null); local 717 t.timezone = tz; 722 t.timezone = tz; [all...] |
/external/qemu/ |
trace.c | 406 struct timezone tz; local 407 gettimeofday(&tv, &tz); [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 875 TimeZone tz = TimeZone.getTimeZone("GMT"); local [all...] |
/frameworks/base/services/java/com/android/server/ |
AlarmManagerService.java | 124 String tz = SystemProperties.get(TIMEZONE_PROPERTY); local 125 if (tz != null) { 126 setTimeZone(tz); 240 public void setTimeZone(String tz) { 245 if (TextUtils.isEmpty(tz)) return; 246 TimeZone zone = TimeZone.getTimeZone(tz); 775 // reset the TZ information at the beginning of each day [all...] |