@abc.abstractmethod<EOL><INDENT>def get_time_periods_by_search(self, time_period_query, time_period_search):<DEDENT>
return<EOL>
Gets the search results matching the given search query using the given search.

        :param time_period_query: the time period query
        :type time_period_query: ``osid.calendaring.TimePeriodQuery``
        :param time_period_search: the time period search
        :type time_period_search: ``osid.calendaring.TimePeriodSearch``
        :return: the time period search results
        :rtype: ``osid.calendaring.TimePeriodSearchResults``
        :raise: ``NullArgument`` -- ``time_period_query`` or ``time_period_search`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure
        :raise: ``Unsupported`` -- ``time_period_search`` or t ``ime_period_query`` is not of this service

        *compliance: mandatory -- This method must be implemented.*