Method

TrackerSparqlCursorget_datetime

Declaration [src]

GDateTime*
tracker_sparql_cursor_get_datetime (
  TrackerSparqlCursor* cursor,
  gint column
)

Description [src]

Retrieves a GDateTime pointer for the current row in column.

Available since:3.2

Parameters

column gint
 

Column number to retrieve (first one is 0)

Return value

Returns: GDateTime*
 

GDateTime object, or NULL if the given column does not contain a xsd:date or xsd:dateTime.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.