2018-09-04 20:58:18 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2017-08-02 12:59:06 +00:00
|
|
|
from .tz import *
|
2018-09-04 20:58:18 +00:00
|
|
|
from .tz import __doc__
|
2017-08-02 12:59:06 +00:00
|
|
|
|
2018-03-27 13:46:59 +00:00
|
|
|
#: Convenience constant providing a :class:`tzutc()` instance
|
|
|
|
#:
|
|
|
|
#: .. versionadded:: 2.7.0
|
|
|
|
UTC = tzutc()
|
|
|
|
|
2017-08-02 12:59:06 +00:00
|
|
|
__all__ = ["tzutc", "tzoffset", "tzlocal", "tzfile", "tzrange",
|
|
|
|
"tzstr", "tzical", "tzwin", "tzwinlocal", "gettz",
|
2018-03-27 13:46:59 +00:00
|
|
|
"enfold", "datetime_ambiguous", "datetime_exists",
|
|
|
|
"resolve_imaginary", "UTC", "DeprecatedTzFormatWarning"]
|
|
|
|
|
|
|
|
|
|
|
|
class DeprecatedTzFormatWarning(Warning):
|
|
|
|
"""Warning raised when time zones are parsed from deprecated formats."""
|