Home
last modified time | relevance | path

Searched refs:tzoff (Results 1 – 2 of 2) sorted by relevance

/third_party/curl/lib/
Dparsedate.c367 int tzoff = -1; in parsedate() local
398 if(!found && (tzoff == -1)) { in parsedate()
400 tzoff = checktz(date, len); in parsedate()
401 if(tzoff != -1) in parsedate()
441 if((tzoff == -1) && in parsedate()
455 tzoff = (val/100 * 60 + val%100)*60; in parsedate()
459 tzoff = date[-1]=='+'?-tzoff:tzoff; in parsedate()
558 if(tzoff == -1) in parsedate()
559 tzoff = 0; in parsedate()
561 if((tzoff > 0) && (t > TIME_T_MAX - tzoff)) { in parsedate()
[all …]
/third_party/python/Lib/
Ddatetime.py1377 tzoff = t.utcoffset()
1378 if not tzoff: # zero or None
1381 h, m = divmod(timedelta(hours=self.hour, minutes=self.minute) - tzoff,
2120 tzoff = t.utcoffset()
2121 if tzoff is None:
2126 self._hashcode = hash(timedelta(days, seconds, self.microsecond) - tzoff)