@@ -61,7 +61,7 @@ def wrapper(self, other):
6161 result = func (self , other )
6262 if self ._adjust_dst :
6363 result = tslib ._localize_pydatetime (result , tz )
64-
64+
6565 result = Timestamp (result )
6666 if self .normalize :
6767 result = result .normalize ()
@@ -387,7 +387,7 @@ def freqstr(self):
387387 return fstr
388388
389389class SingleConstructorOffset (DateOffset ):
390-
390+
391391 @classmethod
392392 def _from_name (cls , suffix = None ):
393393 # default _from_name calls cls with no args
@@ -538,6 +538,9 @@ def onOffset(self, dt):
538538class BusinessHour (BusinessMixin , SingleConstructorOffset ):
539539 """
540540 DateOffset subclass representing possibly n business days
541+
542+ .. versionadded: 0.16.1
543+
541544 """
542545 _prefix = 'BH'
543546 _anchor = 0
@@ -923,7 +926,7 @@ def onOffset(self, dt):
923926
924927class MonthOffset (SingleConstructorOffset ):
925928 _adjust_dst = True
926-
929+
927930 @property
928931 def name (self ):
929932 if self .isAnchored :
@@ -1270,9 +1273,9 @@ class WeekOfMonth(DateOffset):
12701273 5: Saturdays
12711274 6: Sundays
12721275 """
1273-
1276+
12741277 _adjust_dst = True
1275-
1278+
12761279 def __init__ (self , n = 1 , normalize = False , ** kwds ):
12771280 self .n = n
12781281 self .normalize = normalize
@@ -2210,7 +2213,7 @@ class Easter(DateOffset):
22102213 1583-4099.
22112214 '''
22122215 _adjust_dst = True
2213-
2216+
22142217 def __init__ (self , n = 1 , ** kwds ):
22152218 super (Easter , self ).__init__ (n , ** kwds )
22162219
0 commit comments