Function

EDataServertime_parse_date

Declaration [src]

ETimeParseStatus
e_time_parse_date (
  const gchar* value,
  tm* result
)

Description [src]

Takes in a date string entered by the user and tries to convert it to a struct #tm.

Parameters

value

Type: const gchar*

A date string.

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

Type: tm*

Return value for the parsed date.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: ETimeParseStatus

An ETimeParseStatus result code indicating whether value was an empty string, a valid date, or an invalid date.