Searched refs:tzlocal (Results 1 – 10 of 10) sorted by relevance
/external/autotest/client/common_lib/ |
D | time_utils.py | 20 import tzlocal 22 tzlocal = None variable 106 @decorators.test_module_available(tzlocal, raise_error=True) 119 local_datetime = datetime_val.replace(tzinfo=tzlocal.get_localzone())
|
/external/python/dateutil/dateutil/test/ |
D | test_tz.py | 747 @pytest.mark.tzlocal 750 tz1 = tz.tzlocal() 751 tz2 = tz.tzlocal() 758 tzl = tz.tzlocal() 768 tzl = tz.tzlocal() 780 tzl = tz.tzlocal() 786 tzl = tz.tzlocal() 807 @pytest.mark.tzlocal 829 return tz.tzlocal() 848 dt1 = datetime(2015, 2, 1, 12, 0, tzinfo=tz.tzlocal()) # STD [all …]
|
D | test_imports.py | 109 from dateutil.tz import tzlocal
|
D | test_parser.py | 1037 dt_exp = datetime(2011, 8, 1, 12, 30, tzinfo=tz.tzlocal()) 1060 dt_exp = datetime(2011, 11, 6, 1, 30, tzinfo=tz.tzlocal())
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 189 class tzlocal(_tzinfo): class 194 super(tzlocal, self).__init__() 291 if isinstance(other, tzlocal): 1402 tzlocal_classes = (tzlocal,) 1456 tz = tzlocal() 1502 tz = tzlocal()
|
/external/python/dateutil/docs/ |
D | examples.rst | 905 further timezone settings will yield a `tzlocal` timezone. 910 datetime.datetime(2003, 9, 25, 10, 36, 28, tzinfo=tzlocal()) 1232 tzlocal examples 1235 .. doctest:: tzlocal 1240 >>> datetime.now(tzlocal()) 1242 tzinfo=tzlocal()) 1244 >>> datetime.now(tzlocal()).tzname() 1247 >>> datetime.now(tzlocal()).astimezone(tzoffset(None, 0))
|
/external/autotest/site_utils/deployment/ |
D | cmdvalidate.py | 483 timestamp = datetime.datetime.now(dateutil.tz.tzlocal()).isoformat()
|
/external/python/dateutil/ |
D | NEWS | 117 - Expand definition of tz.tzlocal equality so that the local zone is allow 590 - Now tz.gettz() returns a tzlocal instance when not given any
|
/external/python/dateutil/dateutil/parser/ |
D | _parser.py | 1137 aware = naive.replace(tzinfo=tz.tzlocal())
|
/external/python/dateutil/dateutil/ |
D | rrule.py | 24 from .tz import tzutc, tzlocal
|