Home
last modified time | relevance | path

Searched refs:tzlocal (Results 1 – 11 of 11) sorted by relevance

/external/autotest/client/common_lib/
Dtime_utils.py26 import tzlocal
28 tzlocal = None variable
112 @decorators.test_module_available(tzlocal, raise_error=True)
125 local_datetime = datetime_val.replace(tzinfo=tzlocal.get_localzone())
/external/python/dateutil/dateutil/test/
Dtest_tz.py793 @pytest.mark.tzlocal
796 tz1 = tz.tzlocal()
797 tz2 = tz.tzlocal()
804 tzl = tz.tzlocal()
814 tzl = tz.tzlocal()
826 tzl = tz.tzlocal()
832 tzl = tz.tzlocal()
853 @pytest.mark.tzlocal
875 return tz.tzlocal()
894 dt1 = datetime(2015, 2, 1, 12, 0, tzinfo=tz.tzlocal()) # STD
[all …]
Dtest_imports.py109 from dateutil.tz import tzlocal
Dtest_parser.py792 dt_exp = datetime(2011, 8, 1, 12, 30, tzinfo=tz.tzlocal())
815 dt_exp = datetime(2011, 11, 6, 1, 30, tzinfo=tz.tzlocal())
/external/python/dateutil/docs/
Dtz.rst37 .. autoclass:: tzlocal
Dexamples.rst905 further timezone settings will yield a `tzlocal` timezone.
910 datetime.datetime(2003, 9, 25, 10, 36, 28, tzinfo=tzlocal())
1245 tzlocal examples
1248 .. doctest:: tzlocal
1253 >>> datetime.now(tzlocal())
1255 tzinfo=tzlocal())
1257 >>> datetime.now(tzlocal()).tzname()
1260 >>> datetime.now(tzlocal()).astimezone(tzoffset(None, 0))
/external/python/dateutil/dateutil/tz/
Dtz.py195 class tzlocal(_tzinfo): class
200 super(tzlocal, self).__init__()
297 if isinstance(other, tzlocal):
1465 tzlocal_classes = (tzlocal,)
1610 tz = tzlocal()
1660 tz = tzlocal()
/external/autotest/site_utils/deployment/
Dcmdvalidate.py489 timestamp = datetime.datetime.now(dateutil.tz.tzlocal()).strftime(
/external/python/dateutil/dateutil/parser/
D_parser.py1178 aware = naive.replace(tzinfo=tz.tzlocal())
/external/python/dateutil/
DNEWS307 - Expand definition of tz.tzlocal equality so that the local zone is allow
780 - Now tz.gettz() returns a tzlocal instance when not given any
/external/python/dateutil/dateutil/
Drrule.py24 from .tz import tzutc, tzlocal