@abc.abstractmethod<EOL><INDENT>def set_allocated_time(self, time):<DEDENT>
pass<EOL>
Sets the allocated time.

        :param time: the allocated time
        :type time: ``osid.calendaring.Duration``
        :raise: ``InvalidArgument`` -- ``time`` is invalid
        :raise: ``NoAccess`` -- ``Metadata.isReadOnly()`` is ``true``

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