def get_deadline(self):
<EOL>if not bool(self._my_map['<STR_LIT>']):<EOL><INDENT>raise errors.IllegalState()<EOL><DEDENT>dt = self._my_map['<STR_LIT>']<EOL>return DateTime(dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second, dt.microsecond)<EOL>
Gets the end time for this assessment.

        return: (osid.calendaring.DateTime) - the designated end time
        raise:  IllegalState - ``has_deadline()`` is ``false``
        *compliance: mandatory -- This method must be implemented.*