Home
last modified time | relevance | path

Searched refs:ZoneInfo (Results 1 - 8 of 8) sorted by relevance

/third_party/python/Lib/zoneinfo/
H A D__init__.py2 "ZoneInfo",
14 from _zoneinfo import ZoneInfo namespace
16 from ._zoneinfo import ZoneInfo namespace
H A D_zoneinfo.py21 # that ZoneInfo("America/New_York") with 236 transitions takes up, so we will
23 # hits, but specifically crafted ZoneInfo objects don't leak arbitrary amounts
30 class ZoneInfo(tzinfo): class
212 "Cannot pickle a ZoneInfo file created from a file stream."
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/
H A Dtest_util.cc53 const struct ZoneInfo { struct
110 for (const ZoneInfo& zoneinfo : kZoneInfo) { in TestFactory()
/third_party/icu/icu4c/source/tools/tzcode/
H A Dtz2icu.cpp126 int32_t type; // index into 'ZoneInfo.types' 0..255
142 int32_t abbr; // index into ZoneInfo.abbrs 0..n-1
159 // with a list of the ZoneTypes. A ZoneInfo object may have a long
164 struct ZoneInfo { struct
181 ZoneInfo() : finalYear(-1), aliasTo(-1) {} in ZoneInfo() function
209 void ZoneInfo::clearAliases() { in clearAliases()
214 void ZoneInfo::addAlias(int32_t index) {
219 void ZoneInfo::setAliasTo(int32_t index) {
225 typedef map<string, ZoneInfo> ZoneMap;
233 // Global map holding all our ZoneInfo object
[all...]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dtz2icu.cpp126 int32_t type; // index into 'ZoneInfo.types' 0..255
142 int32_t abbr; // index into ZoneInfo.abbrs 0..n-1
159 // with a list of the ZoneTypes. A ZoneInfo object may have a long
164 struct ZoneInfo { struct
181 ZoneInfo() : finalYear(-1), aliasTo(-1) {} in ZoneInfo() function
209 void ZoneInfo::clearAliases() { in clearAliases()
214 void ZoneInfo::addAlias(int32_t index) {
219 void ZoneInfo::setAliasTo(int32_t index) {
225 typedef map<string, ZoneInfo> ZoneMap;
233 // Global map holding all our ZoneInfo object
[all...]
/third_party/python/Lib/test/test_zoneinfo/
H A D_support.py48 an type calling itself `zoneinfo.ZoneInfo` unless `zoneinfo.ZoneInfo`
65 cls.klass = cls.module.ZoneInfo
H A Dtest_zoneinfo.py121 class_name = "ZoneInfo"
1412 with self.subTest(test="Is non-pickled ZoneInfo"):
1416 with self.subTest(test="Is unpickled ZoneInfo"):
1460 (zi_key, "ZoneInfo with key"),
1461 (zi_nokey, "ZoneInfo without key"),
1781 Because the intention is for the Python and C versions of ZoneInfo to
1790 self.assertFalse(hasattr(c_zoneinfo.ZoneInfo, "_weak_cache"))
1791 self.assertTrue(hasattr(py_zoneinfo.ZoneInfo, "_weak_cache"))
1798 self.assertTrue(gc.is_tracked(py_zoneinfo.ZoneInfo))
1799 self.assertFalse(gc.is_tracked(c_zoneinfo.ZoneInfo))
[all...]
/third_party/python/Lib/test/
H A Ddatetimetester.py5871 class ZoneInfo(tzinfo): class
6110 self.tz = ZoneInfo.fromname(self.zonename)
6215 for name in ZoneInfo.zonenames():

Completed in 16 milliseconds