HomeSort by relevance Sort by last modified time
    Searched refs:tz (Results 1 - 25 of 222) sorted by null

1 2 3 4 5 6 7 8 9

  /bionic/libc/bionic/
ftime.c 33 struct timezone tz; local
35 if (gettimeofday (&tv, &tz) < 0)
45 tb->timezone = tz.tz_minuteswest;
46 tb->dstflag = tz.tz_dsttime;
  /libcore/luni/src/test/java/libcore/java/util/
OldTimeZoneTest.java 87 TimeZone tz = TimeZone.getTimeZone("GMT-6"); local
88 assertEquals("GMT-06:00", tz.getDisplayName());
89 tz = TimeZone.getTimeZone("America/Los_Angeles");
90 assertEquals("Pacific Standard Time", tz.getDisplayName());
94 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local
95 assertEquals("Pacific Standard Time", tz.getDisplayName(new Locale("US")));
98 assertEquals("heure normale du Pacifique", tz.getDisplayName(Locale.FRANCE));
104 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local
105 assertEquals("PST", tz.getDisplayName(false, 0));
106 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, 1))
112 TimeZone tz = TimeZone.getTimeZone("America\/Los_Angeles"); local
128 TimeZone tz = TimeZone.getTimeZone("GMT-6"); local
150 TimeZone tz = TimeZone.getTimeZone("GMT-6"); local
    [all...]
TimeZoneTest.java 60 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local
61 TimeZone.setDefault(tz);
65 assertEquals(-28800000, tz.getOffset(date.getTime()));
66 assertFalse(tz.inDaylightTime(date));
71 assertEquals(-28800000, tz.getOffset(date.getTime()));
72 assertFalse(tz.inDaylightTime(date));
84 TimeZone tz = TimeZone.getTimeZone("Asia/Saigon"); local
88 assertNonDaylightOffset(25580, -2005975000L, tz);
90 assertNonDaylightOffset(25580, -2005974400L, tz); // 0
91 assertNonDaylightOffset(25580, -2005974000L, tz);
126 TimeZone tz = TimeZone.getTimeZone(id); local
221 TimeZone tz = TimeZone.getTimeZone(id); local
279 TimeZone tz = TimeZone.getTimeZone("America\/Santiago"); local
288 TimeZone tz = TimeZone.getTimeZone("Pacific\/Apia"); local
316 TimeZone tz = TimeZone.getTimeZone(id); local
    [all...]
  /system/extras/tests/bionic/libc/common/
test_tm_zone.c 39 const char* tz = getenv("TZ");
44 if (tz) {
45 printf( "TZ set to '%s'\n", tz );
47 printf( "TZ is not defined\n" );
  /bionic/libc/private/
bionic_time.h 56 extern time_t mktime_tz(struct tm* const tmp, char const* tz);
57 extern void localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz);
  /cts/tests/tests/util/src/android/util/cts/
TimeUtilsTest.java 37 TimeZone tz = TimeZone.getTimeZone(name); local
38 Calendar c = Calendar.getInstance(tz);
58 TimeZone tz = TimeZone.getTimeZone(name); local
59 Calendar c = Calendar.getInstance(tz);
74 TimeZone tz = TimeZone.getTimeZone(name); local
75 Calendar c = Calendar.getInstance(tz);
94 TimeZone tz = TimeZone.getTimeZone(name); local
95 Calendar c = Calendar.getInstance(tz);
  /external/smack/src/org/jivesoftware/smackx/packet/
Time.java 69 private String tz = null; field in class:Time
87 tz = cal.getTimeZone().getID();
153 return tz;
159 * @param tz the time zone.
161 public void setTz(String tz) {
162 this.tz = tz;
189 if (tz != null) {
190 buf.append("<tz>").append(tz).append("</tz>")
    [all...]
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZoneData.java 141 final TimeZone tz = TimeZone.getTimeZone(tzId); local
142 if (tz == null) {
147 TimeZoneInfo tzInfo = new TimeZoneInfo(tz, null);
163 // checkForNameDups(tz, tzInfo.mCountry, false /* dls */,
165 // checkForNameDups(tz, tzInfo.mCountry, false /* dls */,
167 // if (tz.useDaylightTime()) {
168 // checkForNameDups(tz, tzInfo.mCountry, true /* dls */,
171 // checkForNameDups(tz, tzInfo.mCountry, true /* dls */,
183 for (TimeZoneInfo tz : mTimeZones) {
185 // Lookup map for id -> tz
338 final TimeZone tz = TimeZone.getTimeZone(newTzId); local
387 final TimeZone tz = TimeZone.getTimeZone(timeZoneId); local
    [all...]
TimeZonePickerUtils.java 82 private CharSequence buildGmtDisplayName(TimeZone tz, long timeMillis, boolean grayGmt) {
83 Time time = new Time(tz.getID());
88 String displayName = getDisplayName(tz, time.isDst != 0);
92 final int gmtOffset = tz.getOffset(timeMillis);
99 if (tz.useDaylightTime()) {
112 if (tz.useDaylightTime()) {
161 private String getDisplayName(TimeZone tz, boolean daylightTime) {
164 return tz.getDisplayName(daylightTime, TimeZone.LONG, Locale.getDefault());
168 if (tz.getID().equals(mOverrideIds[i])) {
180 return tz.getDisplayName(daylightTime, TimeZone.LONG, Locale.getDefault())
    [all...]
TimeZoneInfo.java 57 public TimeZoneInfo(TimeZone tz, String country) {
58 mTz = tz;
59 mTzId = tz.getID();
61 mRawoffset = tz.getRawOffset();
64 mTransitions = getTransitions(tz, time);
197 private static int[] getTransitions(TimeZone tz, long time)
199 Class<?> zoneInfoClass = tz.getClass();
202 int[] objTransitions = (int[]) mTransitionsField.get(tz);
232 final TimeZone tz = this.mTz; local
236 sb.append(tz.getDisplayName(false /* daylightTime */, TimeZone.LONG))
    [all...]
  /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...]
  /external/v8/src/
dateparser-inl.h 43 TimeZoneComposer tz; local
95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz);
122 } else if (tz.IsExpecting(n)) {
123 tz.SetAbsoluteMinute(n);
147 tz.Set(value);
152 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) {
154 tz.SetSign(token.ascii_sign());
163 tz.SetAbsoluteHour(n);
164 tz.SetAbsoluteMinute(kNone);
166 tz.SetAbsoluteHour(n / 100)
    [all...]
  /bionic/tests/
time_benchmark.cpp 24 extern "C" void localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz);
  /frameworks/base/core/tests/coretests/src/android/util/
TimeUtilsTest.java 39 TimeZone tz = TimeZone.getTimeZone(name); local
40 Calendar c = Calendar.getInstance(tz);
60 TimeZone tz = TimeZone.getTimeZone(name); local
61 Calendar c = Calendar.getInstance(tz);
76 TimeZone tz = TimeZone.getTimeZone(name); local
77 Calendar c = Calendar.getInstance(tz);
356 "tz", "Africa/Dar_es_Salaam",
390 TimeZone tz = TimeZone.getTimeZone(name); local
391 Calendar c = Calendar.getInstance(tz);
414 TimeZone tz = TimeZone.getTimeZone(name) local
    [all...]
  /external/icu4c/tools/tzcode/
icuzdump.cpp 115 void setTimeZone(TimeZone* tz) {
116 timezone = tz;
239 TimeZone* tz = NULL; local
244 tz = TimeZone::createTimeZone(*zid);
250 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]);
253 tz = TimeZone::createDefault();
258 return tz;
375 TimeZone* tz = zit->next(); local
376 if (tz == NULL) {
379 dumper.setTimeZone(tz);
406 TimeZone* tz = zit->next(); local
    [all...]
  /external/icu4c/test/intltest/
tzregts.h 53 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
54 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
tztest.h 51 void findTransition(const TimeZone& tz,
57 void testUsingBinarySearch(const TimeZone& tz,
  /frameworks/av/libvideoeditor/osal/src/
M4OSA_Clock.c 59 struct timezone tz; local
76 if(gettimeofday(&tv, &tz) == 0)
  /frameworks/base/core/tests/coretests/src/android/app/activity/
SetTimeZonePermissionsTest.java 55 String tz = mZones[i]; local
57 mAlarm.setTimeZone(tz);
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DateUtils.java 39 TimeZone tz = TimeZone.getTimeZone("GMT"); local
40 Calendar c = Calendar.getInstance(tz);
  /hardware/ti/omap3/dspbridge/libbridge/
perfutils.c 41 struct timezone tz; local
42 Result = gettimeofday(tv, &tz);
  /libcore/luni/src/main/java/java/util/
SimpleTimeZone.java 319 SimpleTimeZone tz = (SimpleTimeZone) object; local
320 return getID().equals(tz.getID())
321 && rawOffset == tz.rawOffset
322 && useDaylight == tz.useDaylight
323 && (!useDaylight || (startYear == tz.startYear
324 && startMonth == tz.startMonth
325 && startDay == tz.startDay && startMode == tz.startMode
326 && startDayOfWeek == tz.startDayOfWeek
327 && startTime == tz.startTime && endMonth == tz.endMont
510 SimpleTimeZone tz = (SimpleTimeZone) zone; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/transforms/
TranslateTransformOperation.h 40 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, const Length& tz, OperationType type)
42 return adoptRef(new TranslateTransformOperation(tx, ty, tz, type));
75 TranslateTransformOperation(const Length& tx, const Length& ty, const Length& tz, OperationType type)
78 , m_z(tz)
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPDateTime.java 88 /** @param tz a time zone to set */
89 void setTimeZone(TimeZone tz);
  /frameworks/base/services/jni/
com_android_server_AlarmManagerService.cpp 42 struct timezone tz; local
44 tz.tz_minuteswest = minswest;
45 tz.tz_dsttime = 0;
47 int result = settimeofday(NULL, &tz);

Completed in 868 milliseconds

1 2 3 4 5 6 7 8 9