@apply_wraps<EOL><INDENT>def rollback(self, dt):<DEDENT>
if not self.onOffset(dt):<EOL><INDENT>businesshours = self._get_business_hours_by_sec<EOL>if self.n >= <NUM_LIT:0>:<EOL><INDENT>dt = self._prev_opening_time(<EOL>dt) + timedelta(seconds=businesshours)<EOL><DEDENT>else:<EOL><INDENT>dt = self._next_opening_time(<EOL>dt) + timedelta(seconds=businesshours)<EOL><DEDENT><DEDENT>return dt<EOL>
Roll provided date backward to next offset only if not on offset.