code: def declared_date(self, value):
          
          if value:
              self._declared_date = parse(value).date() if isinstance(value, type_check) else value
docs: The date on which the corporate action was declared
          :param value:
          :return: