Home
last modified time | relevance | path

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

/external/python/dateutil/dateutil/tz/
Dwin.py207 stdoffset = -tup[0]-tup[1] # Bias + StandardBias * -1
208 dstoffset = stdoffset-tup[2] # + DaylightBias * -1
209 self._std_offset = datetime.timedelta(minutes=stdoffset)
254 stdoffset = -keydict["Bias"]-keydict["StandardBias"]
255 dstoffset = stdoffset-keydict["DaylightBias"]
257 self._std_offset = datetime.timedelta(minutes=stdoffset)
Dtz.py882 def __init__(self, stdabbr, stdoffset=None, argument
893 stdoffset = stdoffset.total_seconds()
902 if stdoffset is not None:
903 self._std_offset = datetime.timedelta(seconds=stdoffset)
909 elif dstabbr and stdoffset is not None:
1024 res.stdoffset *= -1
1029 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.c929 int_fast32_t stdoffset; in tzparse() local
942 stdoffset = 0; in tzparse()
958 name = getoffset(name, &stdoffset); in tzparse()
982 } else dstoffset = stdoffset - SECSPERHOUR; in tzparse()
1010 sp->ttis[1].tt_gmtoff = -stdoffset; in tzparse()
1019 starttime = transtime(year, &start, stdoffset), in tzparse()
1034 + (stdoffset - dstoffset))))) { in tzparse()
1119 sp->ats[i] += stdoffset - in tzparse()
1132 sp->ttis[0].tt_gmtoff = -stdoffset; in tzparse()
1146 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.py4492 self.stdoffset = timedelta(hours=hours)
4507 return self.stdoffset + self.dst(dt)
4748 return dt + self.stdoffset
4765 expected = fstart + FEastern.stdoffset
4784 expected = fstart + FEastern.stdoffset
4934 self.stdoffset = timedelta(hours=hours)
4949 return self.stdoffset + self.dst(dt)
/external/python/dateutil/dateutil/parser/
D_parser.py1441 res.dstoffset = (res.stdoffset + int(l[i]) * signal)
/external/python/dateutil/dateutil/test/
Dtest_tz.py1195 tz_range = tz.tzrange('dflt', stdoffset=timedelta(hours=-3))