Roll provided date backward to next offset only if not on offset.
Rolled timestamp if not on offset, otherwise unchanged timestamp.
previous
pandas.tseries.offsets.YearEnd.apply_index
next
pandas.tseries.offsets.YearEnd.rollforward