Home
last modified time | relevance | path

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

/external/python/dateutil/dateutil/test/
Dtest_imports.py119 from dateutil.tz import datetime_exists
Dtest_tz.py389 self.assertEqual(tz.datetime_exists(dt, tz=tzi), exists)
2428 tz.datetime_exists(datetime(2016, 4, 1, 2, 9))
2435 self.assertFalse(tz.datetime_exists(dt, tz=tzi))
2442 self.assertFalse(tz.datetime_exists(dt))
2449 self.assertTrue(tz.datetime_exists(dt, tz=tzi))
2456 self.assertTrue(tz.datetime_exists(dt))
2464 self.assertFalse(tz.datetime_exists(dt, tz=AEST))
2546 if not tz.datetime_exists(datetime(1995, 1, 1, 12, 30), tzi):
/external/python/dateutil/dateutil/tz/
Dtz.py1510 def datetime_exists(dt, tz=None): function
1624 if dt.tzinfo is not None and not datetime_exists(dt):
/external/python/dateutil/
DNEWS232 zone and datetime_exists() determines if a datetime exists in a given zone.