Method

TrackerResourceadd_datetime

Declaration [src]

void
tracker_resource_add_datetime (
  TrackerResource* self,
  const char* property_uri,
  GDateTime* value
)

Description [src]

Adds a date property as a GDateTime. Previous values for the same property are kept.

This method is meant for RDF properties allowing multiple values, see nrl:maxCardinality.

This method corresponds to xsd:date and xsd:dateTime.

Available since:3.2

Parameters

property_uri const char*
 

A string identifying the property to modify.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
value GDateTime*
 

The property object.

 The data is owned by the caller of the function.