aboutsummaryrefslogtreecommitdiff
path: root/dateutil/tz/__init__.py
blob: df03deb4c1046b2b2af984ea605ea88c2adc316a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from .tz import *

#: Convenience constant providing a :class:`tzutc()` instance
#:
#: .. versionadded:: 2.7.0
UTC = tzutc()

__all__ = ["tzutc", "tzoffset", "tzlocal", "tzfile", "tzrange",
           "tzstr", "tzical", "tzwin", "tzwinlocal", "gettz",
           "enfold", "datetime_ambiguous", "datetime_exists",
           "resolve_imaginary", "UTC", "DeprecatedTzFormatWarning"]


class DeprecatedTzFormatWarning(Warning):
    """Warning raised when time zones are parsed from deprecated formats."""