<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse(self, s):
 """ Parses a date string formatted like ``YYYY-MM-DD``. """

        return datetime.datetime.strptime(s, self.date_format).date()