mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-04-22 10:28:02 +00:00
26 lines
688 B
Python
26 lines
688 B
Python
from datetime import (
|
|
datetime,
|
|
tzinfo,
|
|
)
|
|
from typing import Callable
|
|
|
|
import numpy as np
|
|
|
|
from pandas._typing import npt
|
|
|
|
# imported from dateutil.tz
|
|
dateutil_gettz: Callable[[str], tzinfo]
|
|
|
|
def tz_standardize(tz: tzinfo) -> tzinfo: ...
|
|
def tz_compare(start: tzinfo | None, end: tzinfo | None) -> bool: ...
|
|
def infer_tzinfo(
|
|
start: datetime | None,
|
|
end: datetime | None,
|
|
) -> tzinfo | None: ...
|
|
def get_dst_info(
|
|
tz: tzinfo,
|
|
) -> tuple[npt.NDArray[np.int64], npt.NDArray[np.int64], str]: ...
|
|
def maybe_get_tz(tz: str | int | np.int64 | tzinfo | None) -> tzinfo | None: ...
|
|
def get_timezone(tz: tzinfo) -> tzinfo | str: ...
|
|
def is_utc(tz: tzinfo | None) -> bool: ...
|