parseIso8601Date

fnbool parseIso8601Date(glib.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 #GDate.

Parameters

gdatea pointer to a #GDate structure which will be filled
valuea string

Returns

true if value has been sucessfuly parsed as a valid date (see [glib.date.Date.valid]).