code: def rollforward(self, date):
          
          if self.onOffset(date):
              return date
          else:
              return date + YearBegin(month=self.month)
docs: Roll date forward to nearest start of year