def get_time_types(self):
<EOL>if self._kwargs['<STR_LIT>'] not in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>raise errors.IllegalState()<EOL><DEDENT>return self._kwargs['<STR_LIT>']<EOL>
Gets the set of acceptable time types.

        return: (osid.type.Type) - a set of time types or an empty array
                if not restricted
        raise:  IllegalState - syntax is not a ``DATETIME, DURATION,``
                or ``TIME``
        *compliance: mandatory -- This method must be implemented.*