/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
H A D | TimeZoneTest.java | 42 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 D | set-tz.c | 1 /* 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 D | Makefile | 13 leapcrash set-tai set-2038 set-tz 33 ./set-tz
|
/external/strace/tests/ |
H A D | xettimeofday.c | 42 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 D | xettimeofday.c | 42 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 D | xettimeofday.c | 42 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 D | time.h | 32 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 D | time.h | 18 extern int gettimeofday ( struct timeval *tv, struct timezone *tz );
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | DangiCalendar.java | 77 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 D | DangiCalendar.java | 75 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 D | dateparser-inl.h | 21 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 D | DateFormatter.java | 50 * @param tz the new time zone 53 DateFormatter withTimeZone(TimeZone tz); argument
|
H A D | DurationFormatter.java | 42 * @param tz the time zone 76 * @param tz the time zone in which to compute durations. 79 DurationFormatter withTimeZone(TimeZone tz); argument
|
H A D | PeriodBuilder.java | 56 PeriodBuilder withTimeZone(TimeZone tz); argument
|
H A D | BasicDurationFormatter.java | 94 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 D | DateFormatter.java | 48 * @param tz the new time zone 51 DateFormatter withTimeZone(TimeZone tz); argument
|
H A D | DurationFormatter.java | 40 * @param tz the time zone 74 * @param tz the time zone in which to compute durations. 77 DurationFormatter withTimeZone(TimeZone tz); argument
|
H A D | PeriodBuilder.java | 54 PeriodBuilder withTimeZone(TimeZone tz); argument
|
H A D | BasicDurationFormatter.java | 93 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 D | icuzdump.cpp | 118 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 D | tzregts.h | 55 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max); 56 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
|
/external/mdnsresponder/mDNSWindows/ |
H A D | PosixCompat.h | 53 gettimeofday( struct timeval * tv, struct timezone * tz );
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
H A D | XMPDateTime.java | 88 /** @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 D | rpc_clnt_call_scalability.c | 68 struct timezone tz; local 94 gettimeofday(&tv1, &tz); 105 gettimeofday(&tv2, &tz);
|
/external/icu/icu4c/source/samples/date/ |
H A D | date.c | 51 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...] |