Home
last modified time | relevance | path

Searched refs:create_timezone (Results 1 – 5 of 5) sorted by relevance

/external/python/asn1crypto/tests/
Dtest_util.py125 …self.assertTrue(util.create_timezone(delta_plus_5_42) is util.create_timezone(timedelta(hours=5, m…
126 … self.assertFalse(util.create_timezone(delta_plus_5_42) is util.create_timezone(delta_minus_5_42))
150 zone = util.create_timezone(timedelta(hours=12, minutes=45))
188 zone = util.create_timezone(timedelta(hours=12, minutes=45))
201 zone = util.create_timezone(timedelta(hours=12, minutes=45))
223 zone = util.create_timezone(timedelta(hours=12, minutes=45))
289 … util.extended_datetime(0, 12, 31, 21, 4, 5, 6, util.create_timezone(timedelta(hours=-8)))
293 … util.extended_datetime(0, 12, 31, 21, 4, 5, 6, util.create_timezone(timedelta(hours=-8)))
294 == datetime(1, 1, 1, 5, 7, 5, 6, util.create_timezone(timedelta(hours=0, minutes=3)))
297 … util.extended_datetime(0, 12, 31, 21, 4, 5, 6, util.create_timezone(timedelta(hours=-7)))
[all …]
Dtest_core.py424 return util.create_timezone(timedelta(hours=hours, minutes=minutes))
/external/python/asn1crypto/asn1crypto/
Dutil.py294 def create_timezone(offset): function
Dcore.py64 from .util import int_to_bytes, int_from_bytes, timezone, extended_datetime, create_timezone, utc_w…
4897 tz = create_timezone(sign * timedelta(
/external/python/cpython3/Modules/
D_datetimemodule.c1072 create_timezone(PyObject *offset, PyObject *name) in create_timezone() function
1116 return create_timezone(offset, name); in new_timezone()
6637 x = create_timezone(delta, NULL); in PyInit__datetime()
6650 x = create_timezone(delta, NULL); in PyInit__datetime()
6659 x = create_timezone(delta, NULL); in PyInit__datetime()