@@ -1007,9 +1007,9 @@ class CustomBusinessDay(_CustomMixin, BusinessDay):
10071007 normalize : bool, default False
10081008 Normalize start/end dates to midnight before generating date range
10091009 weekmask : str, Default 'Mon Tue Wed Thu Fri'
1010- weekmask of valid business days, passed to ``numpy.busdaycalendar``
1010+ Weekmask of valid business days, passed to ``numpy.busdaycalendar``
10111011 holidays : list
1012- list /array of dates to exclude from the set of valid business days,
1012+ List /array of dates to exclude from the set of valid business days,
10131013 passed to ``numpy.busdaycalendar``
10141014 calendar : pd.HolidayCalendar or np.busdaycalendar
10151015 offset : timedelta, default timedelta(0)
@@ -1671,16 +1671,19 @@ class WeekOfMonth(_WeekOfMonthMixin, DateOffset):
16711671 Parameters
16721672 ----------
16731673 n : int
1674- week : {0, 1, 2, 3, ...}, default 0
1675- 0 is 1st week of month, 1 2nd week, etc.
1676- weekday : {0, 1, ..., 6}, default 0
1677- 0: Mondays
1678- 1: Tuesdays
1679- 2: Wednesdays
1680- 3: Thursdays
1681- 4: Fridays
1682- 5: Saturdays
1683- 6: Sundays
1674+ week : int {0, 1, 2, 3, ...}, default 0
1675+ A specific integer for the week of the month.
1676+ e.g. 0 is 1st week of month, 1 is the 2nd week, etc.
1677+ weekday : int {0, 1, ..., 6}, default 0
1678+ A specific integer for the day of the week.
1679+
1680+ - 0 is Monday
1681+ - 1 is Tuesday
1682+ - 2 is Wednesday
1683+ - 3 is Thursday
1684+ - 4 is Friday
1685+ - 5 is Saturday
1686+ - 6 is Sunday
16841687 """
16851688
16861689 _prefix = "WOM"
@@ -1747,14 +1750,16 @@ class LastWeekOfMonth(_WeekOfMonthMixin, DateOffset):
17471750 Parameters
17481751 ----------
17491752 n : int, default 1
1750- weekday : {0, 1, ..., 6}, default 0
1751- 0: Mondays
1752- 1: Tuesdays
1753- 2: Wednesdays
1754- 3: Thursdays
1755- 4: Fridays
1756- 5: Saturdays
1757- 6: Sundays
1753+ weekday : int {0, 1, ..., 6}, default 0
1754+ A specific integer for the day of the week.
1755+
1756+ - 0 is Monday
1757+ - 1 is Tuesday
1758+ - 2 is Wednesday
1759+ - 3 is Thursday
1760+ - 4 is Friday
1761+ - 5 is Saturday
1762+ - 6 is Sunday
17581763 """
17591764
17601765 _prefix = "LWOM"
@@ -2055,6 +2060,7 @@ class FY5253(DateOffset):
20552060 http://en.wikipedia.org/wiki/4-4-5_calendar
20562061
20572062 The year may either:
2063+
20582064 - end on the last X day of the Y month.
20592065 - end on the last X day closest to the last day of the Y month.
20602066
@@ -2064,17 +2070,25 @@ class FY5253(DateOffset):
20642070 Parameters
20652071 ----------
20662072 n : int
2067- weekday : {0, 1, ..., 6}
2068- 0: Mondays
2069- 1: Tuesdays
2070- 2: Wednesdays
2071- 3: Thursdays
2072- 4: Fridays
2073- 5: Saturdays
2074- 6: Sundays
2075- startingMonth : The month in which fiscal years end. {1, 2, ... 12}
2076- variation : str
2077- {"nearest", "last"} for "LastOfMonth" or "NearestEndMonth"
2073+ weekday : int {0, 1, ..., 6}, default 0
2074+ A specific integer for the day of the week.
2075+
2076+ - 0 is Monday
2077+ - 1 is Tuesday
2078+ - 2 is Wednesday
2079+ - 3 is Thursday
2080+ - 4 is Friday
2081+ - 5 is Saturday
2082+ - 6 is Sunday
2083+
2084+ startingMonth : int {1, 2, ... 12}, default 1
2085+ The month in which the fiscal year ends.
2086+
2087+ variation : str, default "nearest"
2088+ Method of employing 4-4-5 calendar. There are two options:
2089+
2090+ - "nearest" means year end is **weekday** closest to last day of month in year.
2091+ - "last" means year end is final **weekday** of the final month in fiscal year.
20782092 """
20792093
20802094 _prefix = "RE"
@@ -2258,6 +2272,7 @@ class FY5253Quarter(DateOffset):
22582272 http://en.wikipedia.org/wiki/4-4-5_calendar
22592273
22602274 The year may either:
2275+
22612276 - end on the last X day of the Y month.
22622277 - end on the last X day closest to the last day of the Y month.
22632278
@@ -2271,19 +2286,28 @@ class FY5253Quarter(DateOffset):
22712286 Parameters
22722287 ----------
22732288 n : int
2274- weekday : {0, 1, ..., 6}
2275- 0: Mondays
2276- 1: Tuesdays
2277- 2: Wednesdays
2278- 3: Thursdays
2279- 4: Fridays
2280- 5: Saturdays
2281- 6: Sundays
2282- startingMonth : The month in which fiscal years end. {1, 2, ... 12}
2283- qtr_with_extra_week : The quarter number that has the leap
2284- or 14 week when needed. {1,2,3,4}
2285- variation : str
2286- {"nearest", "last"} for "LastOfMonth" or "NearestEndMonth"
2289+ weekday : int {0, 1, ..., 6}, default 0
2290+ A specific integer for the day of the week.
2291+
2292+ - 0 is Monday
2293+ - 1 is Tuesday
2294+ - 2 is Wednesday
2295+ - 3 is Thursday
2296+ - 4 is Friday
2297+ - 5 is Saturday
2298+ - 6 is Sunday
2299+
2300+ startingMonth : int {1, 2, ..., 12}, default 1
2301+ The month in which fiscal years end.
2302+
2303+ qtr_with_extra_week : int {1, 2, 3, 4}, default 1
2304+ The quarter number that has the leap or 14 week when needed.
2305+
2306+ variation : str, default "nearest"
2307+ Method of employing 4-4-5 calendar. There are two options:
2308+
2309+ - "nearest" means year end is **weekday** closest to last day of month in year.
2310+ - "last" means year end is final **weekday** of the final month in fiscal year.
22872311 """
22882312
22892313 _prefix = "REQ"
@@ -2707,8 +2731,8 @@ def generate_range(start=None, end=None, periods=None, offset=BDay()):
27072731
27082732 Parameters
27092733 ----------
2710- start : datetime (default None)
2711- end : datetime (default None)
2734+ start : datetime, (default None)
2735+ end : datetime, (default None)
27122736 periods : int, (default None)
27132737 offset : DateOffset, (default BDay())
27142738
0 commit comments