GLib.Date.valid_year
function valid_year(year: GLib.DateYear): Boolean {
// Gjs wrapper for g_date_valid_year()
}
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.
- year
year
- Returns
true if the year is valid