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
int
validYear

Parameters

year GDateYear

year

Return Value

Type: int

TRUE if the year is valid

Meta