@cache_readonly<EOL><INDENT>def cbday_roll(self):<DEDENT>
cbday = CustomBusinessDay(n=self.n, normalize=False, **self.kwds)<EOL>if self._prefix.endswith('<STR_LIT:S>'):<EOL><INDENT>roll_func = cbday.rollforward<EOL><DEDENT>else:<EOL><INDENT>roll_func = cbday.rollback<EOL><DEDENT>return roll_func<EOL>
Define default roll function to be called in apply method.