Lines Matching refs:tzstr
1252 tzstr examples
1262 daylight abbreviation was provided, `tzstr` will follow the
1277 .. testsetup:: tzstr
1282 from dateutil.tz import tzstr
1284 .. doctest:: tzstr
1296 And here is an example showing the same information using `tzstr`,
1299 .. doctest:: tzstr
1301 >>> tz1 = tzstr('EST+05EDT,M4.1.0,M10.5.0')
1302 >>> tz2 = tzstr('AEST-10AEDT-11,M10.5.0,M3.5.0')
1312 .. doctest:: tzstr
1314 >>> tzstr('EST5EDT') == tzstr('EST5EDT,M4.1.0,M10.5.0')
1320 .. doctest:: tzstr
1322 >>> tz = tzstr('EST+05EDT,M4.1.0,M10.5.0')
1338 from dateutil.tz import tzrange, tzstr
1342 >>> tzstr('EST5EDT') == tzrange("EST", -18000, "EDT")
1352 >>> tzstr('EST5EDT') == range1 == range2