Searched defs:tz (Results 26 - 50 of 102) sorted by relevance

12345

/external/icu/icu4c/source/test/intltest/
H A Ddadrfmt.cpp188 TimeZone * tz = TimeZone::createTimeZone(zone); local
189 cal->setTimeZone(*tz);
190 format->setTimeZone(*tz);
191 delete tz;
H A Ddtfmapts.cpp243 const TimeZone& tz = def->getTimeZone(); local
244 TimeZone *newTz = tz.clone();
H A Ddtfmtrtts.cpp146 TimeZone *tz = TimeZone::createDefault(); local
148 logln("Default TimeZone: " + tz->getID(temp));
149 delete tz;
H A Dtzbdtest.cpp116 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) argument
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
382 testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary) argument
425 SimpleTimeZone *tz; local
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneBoundaryTest.java142 long expectedBoundary, TimeZone tz)
152 if (tz.inDaylightTime(d) != startsInDST)
154 errln("FAIL: " + tz.getID() + " inDaylightTime(" +
159 if (tz.inDaylightTime(new Date(max)) == startsInDST)
161 errln("FAIL: " + tz.getID() + " inDaylightTime(" +
169 boolean isIn = tz.inDaylightTime(new Date(mid));
180 logln(tz.getID() + " Before: " + showDate(min, tz));
181 logln(tz.getID() + " After: " + showDate(max, tz));
141 findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary, TimeZone tz) argument
647 _testUsingBinarySearch(SimpleTimeZone tz, Date d, long expectedBoundary) argument
[all...]
H A DTimeZoneRuleTest.java324 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU);
325 if (tz == null) {
334 verifyTransitions(tz, timerange[0], timerange[1]);
353 TimeZone tz = TimeZone.getTimeZone(zids[i], TimeZone.TIMEZONE_ICU);
354 if (tz == null) {
359 TimeZoneRule[] rules = ((BasicTimeZone)tz).getTimeZoneRules(startTime);
360 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID() + "(RBTZ)",
370 compareTransitionsAscending(tz, rbtz, startTime, until, false);
372 compareTransitionsAscending(tz, rbtz, startTime + 1, until, true);
374 compareTransitionsDescending(tz, rbt
1467 verifyTransitions(TimeZone tz, long start, long end) argument
[all...]
H A DTimeZoneTest.java462 TimeZone tz = TimeZone.getTimeZone(timezones[i]);
463 String displayName0 = tz.getDisplayName(locale);
465 dt.setTimeZone(tz);
467 logln(locale.getDisplayName() + ", " + tz.getID() + ": " + displayName0);
473 if (tz.inDaylightTime(now)) {
475 displayName0 = tz.getDisplayName(true, TimeZone.LONG_GENERIC, locale);
478 errln(locale.getDisplayName() + ", " + tz.getID() +
629 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) argument
632 boolean startsInDST = tz.inDaylightTime(new Date(min));
634 if (tz
2183 isDaylightTimeAvailable(TimeZone tz, long start) argument
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
H A DJHdf.java155 public void exportDate(String hdfName, String tz, int tt) { argument
/external/jsilver/src/org/clearsilver/
H A DDelegatedHdf.java128 String hdfname, String tz, int tt) {
129 getHdf().exportDate(hdfname, tz, tt);
127 exportDate( String hdfname, String tz, int tt) argument
H A DHDF.java104 void exportDate(String hdfName, String tz, int tt); argument
/external/netperf/
H A Dnetcpu_kstat.c271 struct timezone tz; local
291 gettimeofday (&time1, &tz);
293 gettimeofday (&time2, &tz);
H A Dnetcpu_looper.c507 struct timezone tz;
520 gettimeofday (&time1, &tz);
522 gettimeofday (&time2, &tz);
506 struct timezone tz; local
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DQuaternion.h306 const Scalar tz = Scalar(2)*this->z(); local
309 const Scalar twz = tz*this->w();
312 const Scalar txz = tz*this->x();
314 const Scalar tyz = tz*this->y();
315 const Scalar tzz = tz*this->z();
/external/icu/icu4c/source/i18n/
H A Dbasictz.cpp37 BasicTimeZone::hasEquivalentTransitions(const BasicTimeZone& tz, UDate start, UDate end, argument
42 if (hasSameRules(tz)) {
51 tz.getOffset(start, FALSE, raw2, dst2, status);
71 UBool avail2 = tz.getNextTransition(time, FALSE, tr2);
92 tz.getNextTransition(tr2.getTime(), FALSE, tr2);
H A Dwindtfmt.cpp154 const TimeZone &tz = cal.getTimeZone(); local
157 setTimeZoneInfo(&tzi, tz);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DZoneMeta.java344 public static String getCanonicalCLDRID(TimeZone tz) { argument
345 if (tz instanceof OlsonTimeZone) {
346 return ((OlsonTimeZone)tz).getCanonicalID();
348 return getCanonicalCLDRID(tz.getID());
552 OlsonTimeZone tz = null;
558 tz = new OlsonTimeZone(top, res, data);
559 tz.freeze();
564 return tz;
600 SimpleTimeZone tz = new SimpleTimeZone(offset, id);
601 tz
838 getShortID(TimeZone tz) argument
[all...]
H A DTimeZoneGenericNames.java156 TimeZone tz = TimeZone.getDefault();
157 String tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz);
187 * @param tz the time zone
193 public String getDisplayName(TimeZone tz, GenericNameType type, long date) { argument
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) { argument
326 String tzID = ZoneMeta.getCanonicalCLDRID(tz);
[all...]
/external/jetty/src/java/org/eclipse/jetty/server/
H A DNCSARequestLog.java209 * @param tz timezone string
211 public void setLogTimeZone(String tz) argument
213 _logTimeZone = tz;
/external/jsilver/src/org/clearsilver/jni/
H A DJniHdf.java263 public void exportDate(String hdfname, String tz, int tt) { argument
268 TimeZone timeZone = TimeZone.getTimeZone(tz);
271 throw new RuntimeException("Unknown timezone: " + tz);
/external/ltrace/
H A Dhandle_event.c790 struct timezone tz; local
791 gettimeofday(&elem->enter_time, &tz);
828 struct timezone tz; local
829 gettimeofday(&elem->enter_time, &tz);
/external/v8/src/
H A Di18n.cc83 icu::TimeZone* tz = NULL; local
86 tz = icu::TimeZone::createTimeZone(timezone);
88 tz = icu::TimeZone::createDefault();
94 icu::Calendar::createInstance(tz, icu_locale, status);
148 const icu::TimeZone& tz = calendar->getTimeZone(); local
150 tz.getID(time_zone);
/external/eigen/Eigen/src/Geometry/
H A DQuaternion.h535 const Scalar tz = Scalar(2)*this->z(); local
538 const Scalar twz = tz*this->w();
541 const Scalar txz = tz*this->x();
543 const Scalar tyz = tz*this->y();
544 const Scalar tzz = tz*this->z();
/external/icu/icu4c/source/tools/tzcode/
H A Dicuzdump.cpp115 void setTimeZone(TimeZone* tz) { argument
116 timezone = tz;
236 TimeZone* tz = NULL; local
241 tz = TimeZone::createTimeZone(*zid);
247 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]);
250 tz = TimeZone::createDefault();
255 return tz;
372 TimeZone* tz = zit->next(); local
373 if (tz == NULL) {
376 dumper.setTimeZone(tz);
403 TimeZone* tz = zit->next(); local
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DTimeZone.java48 * TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
638 * ICU TimeZone uses the tz database, which supports historic
944 * @param tz the new default time zone
947 public static synchronized void setDefault(TimeZone tz) { argument
948 defaultZone = tz;
956 if (tz != null) {
957 if (tz instanceof com.ibm.icu.impl.OlsonTimeZone) {
966 String icuID = tz.getID();
983 jdkZone = TimeZoneAdapter.wrap(tz);
1151 // mapping data is only applicable to tz databas
[all...]
/external/iputils/
H A Dtraceroute6.c304 struct timezone tz; /* leftover */ variable in typeref:struct:timezone
602 struct timezone tz; local
605 gettimeofday(&t1, &tz);
610 gettimeofday(&t2, &tz);
733 gettimeofday(&pkt->tv, &tz);

Completed in 1459 milliseconds

12345