(self, updated=None)
return self.__atom_updated
Set or get the updated value which indicates the last time the feed
        was modified in a significant way.

        The value can either be a string which will automatically be parsed or
        a datetime.datetime object. In any case it is necessary that the value
        include timezone information.

        This will set both atom:updated and rss:lastBuildDate.

        Default value
            If not set, updated has as value the current date and time.

        :param updated: The modification date.
        :returns: Modification date as datetime.datetime
Set or get the updated value which indicates the last time the feed
        was modified in a significant way.
Set or get the updated value which indicates the last time the feed was modified in a significant way .
def updated(self, updated=None):
        '''Set or get the updated value which indicates the last time the feed
        was modified in a significant way.

        The value can either be a string which will automatically be parsed or
        a datetime.datetime object. In any case it is necessary that the value
        include timezone information.

        This will set both atom:updated and rss:lastBuildDate.

        Default value
            If not set, updated has as value the current date and time.

        :param updated: The modification date.
        :returns: Modification date as datetime.datetime
        '''
        if updated is not None:
            if isinstance(updated, string_types):
                updated = dateutil.parser.parse(updated)
            if not isinstance(updated, datetime):
                raise ValueError('Invalid datetime format')
            if updated.tzinfo is None:
                raise ValueError('Datetime object has no timezone info')
            self.__atom_updated = updated
            self.__rss_lastBuildDate = updated

        return self.__atom_updated
def updated ( self , updated = None ) : if updated is not None : if isinstance ( updated , string_types ) : updated = dateutil . parser . parse ( updated ) if not isinstance ( updated , datetime ) : raise ValueError ( 'Invalid datetime format' ) if updated . tzinfo is None : raise ValueError ( 'Datetime object has no timezone info' ) self . __atom_updated = updated self . __rss_lastBuildDate = updated return self . __atom_updated