valid


Description:

[ CCode ( cname = "g_date_valid_year" ) ]
public bool valid ()

Returns true if the year is valid.

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

Parameters:

year

year

Returns:

true if the year is valid