@@ -9,6 +9,7 @@ from datetime import (
99)
1010from typing import overload
1111
12+ from _typing import TimeZones
1213import numpy as np
1314from pandas import (
1415 DataFrame ,
@@ -92,7 +93,7 @@ def date_range(
9293 end : str | DateAndDatetimeLike | None = ...,
9394 periods : int | None = ...,
9495 freq : str | timedelta | Timedelta | BaseOffset = ...,
95- tz : str | tzinfo = ...,
96+ tz : TimeZones = ...,
9697 normalize : bool = ...,
9798 name : Hashable | None = ...,
9899 inclusive : IntervalClosedType = ...,
@@ -104,7 +105,7 @@ def bdate_range(
104105 end : str | DateAndDatetimeLike | None = ...,
105106 periods : int | None = ...,
106107 freq : str | timedelta | Timedelta | BaseOffset = ...,
107- tz : str | tzinfo = ...,
108+ tz : TimeZones = ...,
108109 normalize : bool = ...,
109110 name : Hashable | None = ...,
110111 weekmask : str | None = ...,
@@ -118,7 +119,7 @@ def bdate_range(
118119 periods : int | None = ...,
119120 * ,
120121 freq : str | timedelta | Timedelta | BaseOffset ,
121- tz : str | tzinfo = ...,
122+ tz : TimeZones = ...,
122123 normalize : bool = ...,
123124 name : Hashable | None = ...,
124125 weekmask : str | None = ...,
0 commit comments