Lines Matching refs:tz
879 .. doctest:: tz
882 >>> from dateutil.tz import *
892 .. doctest:: tz
907 .. doctest:: tz
915 .. doctest:: tz
923 .. doctest:: tz
932 .. doctest:: tz
940 .. doctest:: tz
957 .. doctest:: tz
977 .. doctest:: tz
987 .. doctest:: tz
997 .. doctest:: tz
1014 .. doctest:: tz
1040 .. doctest:: tz
1050 .. doctest:: tz
1073 .. doctest:: tz
1090 .. doctest:: tz
1101 .. doctest:: tz
1112 .. doctest:: tz
1132 .. doctest:: tz
1149 .. doctest:: tz
1160 .. doctest:: tz
1172 .. doctest:: tz
1199 >>> from dateutil.tz import *
1218 >>> from dateutil.tz import *
1238 >>> from dateutil.tz import *
1282 from dateutil.tz import tzstr
1322 >>> tz = tzstr('EST+05EDT,M4.1.0,M10.5.0')
1323 >>> datetime(2003, 4, 6, 1, 59, tzinfo=tz).tzname()
1325 >>> datetime(2003, 4, 6, 2, 00, tzinfo=tz).tzname()
1327 >>> datetime(2003, 10, 26, 0, 59, tzinfo=tz).tzname()
1329 >>> datetime(2003, 10, 26, 2, 00, tzinfo=tz).tzname()
1338 from dateutil.tz import tzrange, tzstr
1373 from dateutil.tz import tzfile, tzutc
1378 >>> tz = tzfile("/etc/localtime")
1379 >>> datetime.now(tz)
1383 >>> datetime.now(tz).astimezone(tzutc())
1387 >>> datetime.now(tz).tzname()
1389 >>> datetime(2003, 1, 1, tzinfo=tz).tzname()
1397 >>> tz = tzfile('/usr/share/zoneinfo/EST5EDT')
1398 >>> datetime(2003, 4, 6, 1, 59, tzinfo=tz).tzname()
1400 >>> datetime(2003, 4, 6, 2, 00, tzinfo=tz).tzname()
1402 >>> datetime(2003, 10, 26, 0, 59, tzinfo=tz).tzname()
1404 >>> datetime(2003, 10, 26, 1, 00, tzinfo=tz).tzname()
1420 >>> from dateutil.tz import *; from datetime import *
1422 >>> tz = tzical('samples/EST5EDT.ics')
1423 >>> tz.keys()
1426 >>> est = tz.get('US-Eastern')
1434 >>> est == tz.get()
1458 >>> tz = tzwin("E. South America Standard Time")
1467 >>> tz = tzwinlocal()