<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def datetimes(self):
 """Return datetimes for this collection as a tuple."""

        if self._datetimes is None:
            self._datetimes = tuple(self.header.analysis_period.datetimes)
        return self._datetimes