Home
last modified time | relevance | path

Searched refs:tzoffset (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/email/
D_parseaddr.py122 tzoffset = None
125 tzoffset = _timezones[tz]
128 tzoffset = int(tz)
132 if tzoffset:
133 if tzoffset < 0:
135 tzoffset = -tzoffset
138 tzoffset = tzsign * ( (tzoffset//100)*3600 + (tzoffset % 100)*60)
140 return yy, mm, dd, thh, tmm, tss, 0, 1, -1, tzoffset
/external/python/cpython2/Lib/
Drfc822.py920 tzoffset = None
923 tzoffset = _timezones[tz]
926 tzoffset = int(tz)
930 if tzoffset:
931 if tzoffset < 0:
933 tzoffset = -tzoffset
936 tzoffset = tzsign * ( (tzoffset//100)*3600 + (tzoffset % 100)*60)
937 return (yy, mm, dd, thh, tmm, tss, 0, 1, 0, tzoffset)
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c194 int32_t tzoffset = uprv_timezone(); in TestPUtilAPI() local
195 log_verbose("Value returned from uprv_timezone = %d\n", tzoffset); in TestPUtilAPI()
196 if (tzoffset != 28800) { in TestPUtilAPI()
199 if ((tzoffset % 1800 != 0)) { in TestPUtilAPI()
200 …e: t_timezone offset of %ld (for %s : %s) is not a multiple of 30min.", tzoffset, uprv_tzname(0), … in TestPUtilAPI()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp128 int32_t tzoffset = uprv_timezone(); in TestGenericAPI() local
129 if ((tzoffset % 900) != 0) { in TestGenericAPI()
137 infoln("WARNING: t_timezone may be incorrect. It is not a multiple of 15min.", tzoffset); in TestGenericAPI()
142 if (hostZone->getRawOffset() != tzoffset * (-1000)) { in TestGenericAPI()
Dcaltest.cpp390 int32_t tzoffset = 123400; in TestGenericAPI() local
392 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid); in TestGenericAPI()
452 z->getRawOffset() != tzoffset) in TestGenericAPI()
/external/icu/icu4c/source/i18n/
Dtimezone.cpp849 int32_t tzoffset = z->getRawOffset(); in create() local
852 if (tzoffset != *rawOffset) { in create()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCompatibilityTest.java275 int tzoffset = 123400; in TestGenericAPI() local
277 SimpleTimeZone zone = new SimpleTimeZone(tzoffset, tzid); in TestGenericAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCompatibilityTest.java274 int tzoffset = 123400; in TestGenericAPI() local
276 SimpleTimeZone zone = new SimpleTimeZone(tzoffset, tzid); in TestGenericAPI()
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py1091 tzoffset = ' %s%04d' % (sign, tzsecs // 36)
1094 time.localtime(now)) + tzoffset
Dtest_email.py1156 tzoffset = ' %s%04d' % (sign, tzsecs // 36)
1159 time.localtime(now)) + tzoffset