Home
last modified time | relevance | path

Searched refs:isdst (Results 1 – 25 of 36) sorted by relevance

12

/external/python/dateutil/dateutil/tz/
D_common.py293 isdst = self._isdst(dt)
295 if isdst is None:
297 elif isdst:
303 isdst = self._isdst(dt)
305 if isdst is None:
307 elif isdst:
341 isdst = self._naive_isdst(dt_utc, utc_transitions)
343 if isdst:
348 _fold = int(not isdst and self.is_ambiguous(dt_wall))
387 isdst = self._naive_isdst(dt, transitions)
[all …]
Dtz.py344 self.isdst == other.isdst and
608 gmtoff, isdst, abbrind = ttinfo[i]
614 tti.isdst = isdst
636 if not out.ttinfo_std and not tti.isdst:
638 elif not out.ttinfo_dst and tti.isdst:
648 if not tti.isdst:
672 if tti.isdst:
690 and tti.isdst != lastdst):
694 lastdst = tti.isdst
833 if not tti.isdst:
[all …]
/external/python/cpython3/Lib/zoneinfo/
D_zoneinfo.py227 trans_idx, trans_utc, utcoff, isdst, abbr, tz_str = _common.load_data(
232 dstoff = self._utcoff_to_dstoff(trans_idx, utcoff, isdst)
250 for i in range(len(isdst)):
251 if not isdst[i]:
479 isdst = start <= ts < end
481 isdst = not (end <= ts < start)
483 return self.dst if isdst else self.std
491 isdst = start <= ts < end
493 isdst = not (end <= ts < start)
507 return (self.dst if isdst else self.std, fold)
D_common.py71 utcoff, isdst, abbrind = zip(
76 isdst = ()
124 return trans_idx, trans_list_utc, utcoff, isdst, abbr, tz_str
/external/python/cpython3/Lib/test/test_email/
Dtest_utils.py67 t1 = utils.localtime(t0, isdst=-1)
74 t1 = utils.localtime(t0, isdst=-1)
82 t1 = utils.localtime(t0, isdst=1)
90 t1 = utils.localtime(t0, isdst=1)
/external/python/cpython3/Modules/
D_zoneinfo.c841 unsigned char *isdst = NULL; in load_data() local
947 isdst = PyMem_Malloc(self->num_ttinfos * sizeof(unsigned char)); in load_data()
949 if (utcoff == NULL || isdst == NULL) { in load_data()
973 isdst[i] = (unsigned char)isdst_with_error; in load_data()
983 utcoff_to_dstoff(trans_idx, utcoff, dstoff, isdst, self->num_transitions, in load_data()
1017 if (!isdst[i]) { in load_data()
1142 if (isdst != NULL) { in load_data()
1143 PyMem_Free(isdst); in load_data()
1351 uint8_t isdst; in find_tzrule_ttinfo() local
1371 isdst = (ts >= start) && (ts < end); in find_tzrule_ttinfo()
[all …]
/external/python/cpython3/Lib/email/
Dutils.py331 def localtime(dt=None, isdst=-1): argument
352 tm = dt.timetuple()[:-1] + (isdst,)
/external/icu/icu4c/source/tools/tzcode/
Dzic.c144 char *const abbr, int isdst,
147 static int addtype(zic_t gmtoff, const char * abbr, int isdst,
1947 const int isdst, const int doquotes) in doabbr() argument
1958 } else if (isdst) { in doabbr()
2707 …type(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isdst, in addtype() argument
2710 addtype(const zic_t gmtoff, const char *const abbr, const int isdst, in addtype()
2716 if (isdst != TRUE && isdst != FALSE) { in addtype()
2729 if (isdst != (dstoff != 0)) { in addtype()
2743 if (gmtoff == gmtoffs[i] && isdst == isdsts[i] && in addtype()
2769 isdsts[i] = isdst; in addtype()
Dtz2icu.cpp143 bool isdst; member
406 type.isdst = readbool(file); in readzoneinfo()
412 if (type.isdst != (type.dstoffset != 0)) { in readzoneinfo()
1224 abbr(-1), isdst(false), isstd(false), isgmt(false) {} in ZoneType()
Dlocaltime.c1059 register int isdst; in tzparse() local
1089 isdst = FALSE; in tzparse()
1115 if (isdst && !sp->ttis[j].tt_ttisstd) { in tzparse()
/external/icu/icu4c/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/external/python/cpython3/Doc/library/
Demail.utils.rst21 case, a positive or zero value for *isdst* causes ``localtime`` to presume
24 *isdst* causes the ``localtime`` to attempt to divine whether summer time
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
653 EXPECT_TRUE(isdst == al.is_dst); \
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
653 EXPECT_TRUE(isdst == al.is_dst); \
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc642 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
652 EXPECT_TRUE(isdst == al.is_dst); \
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
653 EXPECT_TRUE(isdst == al.is_dst); \
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
653 EXPECT_TRUE(isdst == al.is_dst); \
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc642 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
652 EXPECT_TRUE(isdst == al.is_dst); \
/external/curl/tests/
Dftpserver.pl213 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
219 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dtime_test.cc44 #define EXPECT_CIVIL_INFO(ci, y, m, d, h, min, s, off, isdst) \ argument
53 EXPECT_EQ(isdst, ci.is_dst); \
/external/webrtc/third_party/abseil-cpp/absl/time/
Dtime_test.cc44 #define EXPECT_CIVIL_INFO(ci, y, m, d, h, min, s, off, isdst) \ argument
53 EXPECT_EQ(isdst, ci.is_dst); \
/external/libtextclassifier/abseil-cpp/absl/time/
Dtime_test.cc44 #define EXPECT_CIVIL_INFO(ci, y, m, d, h, min, s, off, isdst) \ argument
53 EXPECT_EQ(isdst, ci.is_dst); \
/external/abseil-cpp/absl/time/
Dtime_test.cc44 #define EXPECT_CIVIL_INFO(ci, y, m, d, h, min, s, off, isdst) \ argument
53 EXPECT_EQ(isdst, ci.is_dst); \
/external/openscreen/third_party/abseil/src/absl/time/
Dtime_test.cc44 #define EXPECT_CIVIL_INFO(ci, y, m, d, h, min, s, off, isdst) \ argument
53 EXPECT_EQ(isdst, ci.is_dst); \
/external/angle/third_party/abseil-cpp/absl/time/
Dtime_test.cc44 #define EXPECT_CIVIL_INFO(ci, y, m, d, h, min, s, off, isdst) \ argument
53 EXPECT_EQ(isdst, ci.is_dst); \

12