GLib.Date.get_year – glib-2.0 Reference Manual
get_year
Description:
public
DateYear
get_year
()
Returns the year of a
Date
.
The date must be valid.
Parameters:
this
a
Date
Returns:
year in which the date falls
2022 vala-language.org