parse_iso8601_date


Description:

public bool parse_iso8601_date (Date gdate, string value)

Extracts date parts from value, and sets gdate's contents

Accepted date format is "YYYY-MM-DD" (more or less than 4 digits for years and less than 2 digits for month and day are accepted). Years must be in the 1-65535 range, a limitation imposed by Date.

Parameters:

gdate

a pointer to a Date structure which will be filled

value

a string

Returns:

true if value has been sucessfuly parsed as a valid date (see valid).


Namespace: Gda
Package: libgda-5.0