Home
last modified time | relevance | path

Searched refs:tz_str (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/zoneinfo/
D_common.py120 tz_str = tz_bytes
122 tz_str = None
124 return trans_idx, trans_list_utc, utcoff, isdst, abbr, tz_str
D_zoneinfo.py227 trans_idx, trans_utc, utcoff, isdst, abbr, tz_str = _common.load_data(
261 if tz_str is not None and tz_str != b"":
262 self._tz_after = _parse_tz_str(tz_str.decode())
623 def _parse_tz_str(tz_str): argument
635 offset_str, *start_end_str = tz_str.split(",", 1)
/external/python/dateutil/dateutil/test/
Dtest_tz.py1556 def test_valid_GNU_tzstr(tz_str, expected): argument
1557 tzi = tz.tzstr(tz_str)
1597 def test_valid_dateutil_format(tz_str, expected): argument
1601 tzi = tz.tzstr.instance(tz_str)
1615 def test_invalid_GNU_tzstr(tz_str): argument
1617 tz.tzstr(tz_str)
1632 def test_tzstr_default_start(tz_str): argument
1633 tzi = tz.tzstr(tz_str)
1643 def test_tzstr_default_end(tz_str): argument
1644 tzi = tz.tzstr(tz_str)
[all …]
/external/python/cpython3/Modules/
D_zoneinfo.c890 PyObject *tz_str = PyTuple_GetItem(data_tuple, 5); in load_data() local
891 if (tz_str == NULL) { in load_data()
1029 if (tz_str != Py_None && PyObject_IsTrue(tz_str)) { in load_data()
1030 if (parse_tz_str(tz_str, &(self->tzrule_after))) { in load_data()
1467 char *tz_str = PyBytes_AsString(tz_str_obj); in parse_tz_str() local
1468 if (tz_str == NULL) { in parse_tz_str()
1471 char *p = tz_str; in parse_tz_str()