Searched refs:tz (Results 1 - 25 of 305) sorted by relevance

1234567891011>>

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
H A DTimeZoneTest.java42 TimeZone tz = TimeZone.getTimeZone("PST");
43 int offset = tz.getOffset(1, 2004, 0, 01, 1, 0);
51 TimeZone tz = TimeZone.getTimeZone("PST");
52 int value = tz.getRawOffset();
54 tz.setRawOffset(value1);
55 int result = tz.getRawOffset();
64 TimeZone tz = TimeZone.getTimeZone("PST");
65 int offset = tz.getRawOffset();
73 TimeZone tz = TimeZone.getTimeZone("PST");
74 assertEquals("PST", tz
[all...]
/external/linux-kselftest/tools/testing/selftests/timers/
H A Dset-tz.c1 /* Set tz value
41 struct timezone tz; local
43 tz.tz_minuteswest = min;
44 tz.tz_dsttime = dst;
46 return settimeofday(0, &tz);
51 struct timezone tz; local
54 memset(&tz, 0, sizeof(tz));
55 gettimeofday(&tv, &tz);
56 return tz
61 struct timezone tz; local
[all...]
H A DMakefile13 leapcrash set-tai set-2038 set-tz
33 ./set-tz
/external/strace/tests/
H A Dxettimeofday.c42 struct timezone tz; member in struct:__anon17985
54 if (syscall(__NR_gettimeofday, &t.tv, &t.tz))
59 t.tz.tz_minuteswest, t.tz.tz_dsttime);
63 assert(syscall(__NR_settimeofday, &t.tv, &t.tz) == -1);
68 t.tz.tz_minuteswest, t.tz.tz_dsttime);
/external/strace/tests-m32/
H A Dxettimeofday.c42 struct timezone tz; member in struct:__anon18053
54 if (syscall(__NR_gettimeofday, &t.tv, &t.tz))
59 t.tz.tz_minuteswest, t.tz.tz_dsttime);
63 assert(syscall(__NR_settimeofday, &t.tv, &t.tz) == -1);
68 t.tz.tz_minuteswest, t.tz.tz_dsttime);
/external/strace/tests-mx32/
H A Dxettimeofday.c42 struct timezone tz; member in struct:__anon18121
54 if (syscall(__NR_gettimeofday, &t.tv, &t.tz))
59 t.tz.tz_minuteswest, t.tz.tz_dsttime);
63 assert(syscall(__NR_settimeofday, &t.tv, &t.tz) == -1);
68 t.tz.tz_minuteswest, t.tz.tz_dsttime);
/external/libvncserver/compat/msvc/sys/
H A Dtime.h32 static __inline int gettimeofday(struct timeval *tv, struct timezone *tz) argument
52 if (NULL != tz)
59 tz->tz_minuteswest = _timezone / 60;
60 tz->tz_dsttime = _daylight;
/external/syslinux/gpxe/src/include/sys/
H A Dtime.h18 extern int gettimeofday ( struct timeval *tv, struct timezone *tz );
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DDangiCalendar.java77 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone);
78 tz.addTransitionRule(rule1897);
79 tz.addTransitionRule(rule1898to1911);
80 tz.addTransitionRule(ruleFrom1912);
81 tz.freeze();
82 KOREA_ZONE = tz;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DDangiCalendar.java75 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone);
76 tz.addTransitionRule(rule1897);
77 tz.addTransitionRule(rule1898to1911);
78 tz.addTransitionRule(ruleFrom1912);
79 tz.freeze();
80 KOREA_ZONE = tz;
/external/v8/src/
H A Ddateparser-inl.h21 TimeZoneComposer tz; local
74 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz);
103 } else if (tz.IsExpecting(n)) {
104 tz.SetAbsoluteMinute(n);
129 tz.Set(value);
137 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) {
140 tz.SetSign(token.ascii_sign());
152 tz.SetAbsoluteHour(n);
154 tz.SetAbsoluteMinute(kNone);
157 tz
244 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
H A DDateFormatter.java50 * @param tz the new time zone
53 DateFormatter withTimeZone(TimeZone tz); argument
H A DDurationFormatter.java42 * @param tz the time zone
76 * @param tz the time zone in which to compute durations.
79 DurationFormatter withTimeZone(TimeZone tz); argument
H A DPeriodBuilder.java56 PeriodBuilder withTimeZone(TimeZone tz); argument
H A DBasicDurationFormatter.java94 public DurationFormatter withTimeZone(TimeZone tz) { argument
95 if (!tz.equals(timeZone)) {
96 PeriodBuilder newBuilder = builder.withTimeZone(tz);
99 : fallback.withTimeZone(tz);
102 localeName, tz);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DDateFormatter.java48 * @param tz the new time zone
51 DateFormatter withTimeZone(TimeZone tz); argument
H A DDurationFormatter.java40 * @param tz the time zone
74 * @param tz the time zone in which to compute durations.
77 DurationFormatter withTimeZone(TimeZone tz); argument
H A DPeriodBuilder.java54 PeriodBuilder withTimeZone(TimeZone tz); argument
H A DBasicDurationFormatter.java93 public DurationFormatter withTimeZone(TimeZone tz) { argument
94 if (!tz.equals(timeZone)) {
95 PeriodBuilder newBuilder = builder.withTimeZone(tz);
98 : fallback.withTimeZone(tz);
101 localeName, tz);
/external/icu/icu4c/source/tools/tzcode/
H A Dicuzdump.cpp118 void setTimeZone(TimeZone* tz) { argument
119 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/icu/icu4c/source/test/intltest/
H A Dtzregts.h55 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
56 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
/external/mdnsresponder/mDNSWindows/
H A DPosixCompat.h53 gettimeofday( struct timeval * tv, struct timezone * tz );
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPDateTime.java88 /** @param tz a time zone to set */
89 void setTimeZone(TimeZone tz); argument
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/
H A Drpc_clnt_call_scalability.c68 struct timezone tz; local
94 gettimeofday(&tv1, &tz);
105 gettimeofday(&tv2, &tz);
/external/icu/icu4c/source/samples/date/
H A Ddate.c51 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status);
52 static UDate getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status);
73 const UChar *tz = 0; local
96 tz = GMT_ID;
165 when = getWhen(millis, seconds, format, style, parse, tz, &status);
171 date(when, tz, style, format, &status);
245 const UChar *tz,
267 fmt = udat_open(style, style, 0, tz, -1,NULL,0, status);
296 UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status) {
322 fmt = udat_open(style, style, 0, tz,
244 date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status ) argument
295 getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status) argument
[all...]

Completed in 548 milliseconds

1234567891011>>