Function
PackageKitiso8601_to_datetime
since: 0.8.11
Declaration [src]
GDateTime*
pk_iso8601_to_datetime (
const gchar* iso_date
)
Description [src]
Convert an ISO8601 date string to a GDateTime.
Available since: 0.8.11
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: GDateTime
If valid then a new %GDateTime, else NULL.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |