Date.validYear

Returns TRUE if the year is valid. Any year greater than 0 is valid, though there is a 16-bit limit to what glib.Date will understand.

class Date
static
bool
validYear

Parameters

year GDateYear

year

Return Value

Type: bool

TRUE if the year is valid