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 #GDate will understand.

class Date
static
bool
validYear

Parameters

year glib.types.DateYear

year

Return Value

Type: bool

true if the year is valid