Gst.DateTime.prototype.get_year

function get_year():Number {
    // Gjs wrapper for gst_date_time_get_year()
}

Returns the year of this Gst.DateTime Call gst_date_time_has_year before, to avoid warnings.

Returns

The year of this Gst.DateTime