Function

PackageKitiso8601_to_date

since: 0.5.2

Declaration [src]

GDate*
pk_iso8601_to_date (
  const gchar* iso_date
)

Description [src]

Convert an ISO8601 date string to a GDate.

Available since: 0.5.2

This function is not directly available to language bindings.

Parameters

iso_date

Type: const gchar*

The ISO8601 date to convert.

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

Return value

Type: GDate

If valid then a new %GDate, else NULL.

The caller of the function takes ownership of the data, and is responsible for freeing it.