Function glib::date::is_valid_year [] [src]

pub fn is_valid_year(year: Year) -> bool

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.