def get_time_graded(self):
if not self.is_graded() or self.is_derived():<EOL><INDENT>raise errors.IllegalState()<EOL><DEDENT>time_graded = self._my_map['<STR_LIT>']<EOL>return DateTime(<EOL>year=time_graded.year,<EOL>month=time_graded.month,<EOL>day=time_graded.day,<EOL>hour=time_graded.hour,<EOL>minute=time_graded.minute,<EOL>second=time_graded.second,<EOL>microsecond=time_graded.microsecond)<EOL>
Gets the time the gradeable object was graded.

        return: (osid.calendaring.DateTime) - the timestamp of the
                grading entry
        raise:  IllegalState - ``is_graded()`` is ``false`` or
                ``is_derived()`` is ``true``
        *compliance: mandatory -- This method must be implemented.*