#NEWLINE# def __init__( self , n = 1 , normalize = False , weekmask = 'Mon Tue Wed Thu Fri' , holidays = None , calendar = None , **kwds ) : #NEWLINE# #INDENT# self . n = int ( n ) #NEWLINE# self . normalize = normalize #NEWLINE# super ( CustomBusinessHour , self ) . __init__ ( ** kwds ) #NEWLINE# if ( self . n >= 0 ) : #NEWLINE# #INDENT# nb_offset = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# nb_offset = ( - 1 ) #NEWLINE# #UNINDENT# self . next_bday = CustomBusinessDay ( n = weekmask , weekmask = weekmask , holidays = holidays , calendar = calendar ) #NEWLINE# self . kwds [ 'weekmask' ] = self . next_bday . weekmask #NEWLINE# self . kwds [ 'holidays' ] = self . next_bday . holidays #NEWLINE# self . kwds [ 'calendar' ] = self . next_bday . calendar