@utilities.arguments_not_none<EOL><INDENT>def set_timestamp(self, timestamp):<DEDENT>
<EOL>if self.get_timestamp_metadata().is_read_only():<EOL><INDENT>raise errors.NoAccess()<EOL><DEDENT>if not self._is_valid_date_time(<EOL>timestamp,<EOL>self.get_timestamp_metadata()):<EOL><INDENT>raise errors.InvalidArgument()<EOL><DEDENT>self._my_map['<STR_LIT>'] = timestamp<EOL>
Sets the timestamp.

        arg:    timestamp (osid.calendaring.DateTime): the new timestamp
        raise:  InvalidArgument - ``timestamp`` is invalid
        raise:  NoAccess - ``Metadata.isReadOnly()`` is ``true``
        raise:  NullArgument - ``timestamp`` is ``null``
        *compliance: mandatory -- This method must be implemented.*