<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_iso_string(self) -> str: """ Returns full ISO string for the given date """

        assert isinstance(self.value, datetime)
        return datetime.isoformat(self.value)