Home
last modified time | relevance | path

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

/external/python/dateutil/dateutil/tz/
Dwin.py230 stdoffset = -tup[0]-tup[1] # Bias + StandardBias * -1
231 dstoffset = stdoffset-tup[2] # + DaylightBias * -1
232 self._std_offset = datetime.timedelta(minutes=stdoffset)
293 stdoffset = -keydict["Bias"]-keydict["StandardBias"]
294 dstoffset = stdoffset-keydict["DaylightBias"]
296 self._std_offset = datetime.timedelta(minutes=stdoffset)
Dtz.py943 def __init__(self, stdabbr, stdoffset=None, argument
954 stdoffset = stdoffset.total_seconds()
963 if stdoffset is not None:
964 self._std_offset = datetime.timedelta(seconds=stdoffset)
970 elif dstabbr and stdoffset is not None:
1086 res.stdoffset *= -1
1091 tzrange.__init__(self, res.stdabbr, res.stdoffset,
/external/python/cpython3/Doc/includes/
Dtzinfo_examples.py113 self.stdoffset = timedelta(hours=hours)
128 return self.stdoffset + self.dst(dt)
159 std_time = dt + self.stdoffset
/external/python/cpython2/Doc/includes/
Dtzinfo-examples.py119 self.stdoffset = timedelta(hours=hours)
134 return self.stdoffset + self.dst(dt)
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c931 int_fast32_t stdoffset; in tzparse() local
944 stdoffset = 0; in tzparse()
960 name = getoffset(name, &stdoffset); in tzparse()
984 } else dstoffset = stdoffset - SECSPERHOUR; in tzparse()
1012 sp->ttis[1].tt_gmtoff = -stdoffset; in tzparse()
1021 starttime = transtime(year, &start, stdoffset), in tzparse()
1036 + (stdoffset - dstoffset))))) { in tzparse()
1121 sp->ats[i] += stdoffset - in tzparse()
1134 sp->ttis[0].tt_gmtoff = -stdoffset; in tzparse()
1148 sp->ttis[0].tt_gmtoff = -stdoffset; in tzparse()
/external/cronet/third_party/icu/source/tools/tzcode/
Dlocaltime.c931 int_fast32_t stdoffset; in tzparse() local
944 stdoffset = 0; in tzparse()
960 name = getoffset(name, &stdoffset); in tzparse()
984 } else dstoffset = stdoffset - SECSPERHOUR; in tzparse()
1012 sp->ttis[1].tt_gmtoff = -stdoffset; in tzparse()
1021 starttime = transtime(year, &start, stdoffset), in tzparse()
1036 + (stdoffset - dstoffset))))) { in tzparse()
1121 sp->ats[i] += stdoffset - in tzparse()
1134 sp->ttis[0].tt_gmtoff = -stdoffset; in tzparse()
1148 sp->ttis[0].tt_gmtoff = -stdoffset; in tzparse()
/external/python/cpython2/Lib/test/
Dtest_datetime.py3072 self.stdoffset = timedelta(hours=hours)
3087 return self.stdoffset + self.dst(dt)
3315 return dt + self.stdoffset
3332 expected = fstart + FEastern.stdoffset
3351 expected = fstart + FEastern.stdoffset
/external/python/cpython3/Lib/test/
Ddatetimetester.py4747 self.stdoffset = timedelta(hours=hours)
4762 return self.stdoffset + self.dst(dt)
5003 return dt + self.stdoffset
5020 expected = fstart + FEastern.stdoffset
5039 expected = fstart + FEastern.stdoffset
5168 self.stdoffset = timedelta(hours=hours)
5183 return self.stdoffset + self.dst(dt)
/external/python/dateutil/dateutil/parser/
D_parser.py1487 res.dstoffset = (res.stdoffset + int(l[i]) * signal)
/external/python/dateutil/dateutil/test/
Dtest_tz.py1306 tz_range = tz.tzrange('dflt', stdoffset=timedelta(hours=-3))