Date.setYear

Sets the year for a glib.Date If the resulting day-month-year triplet is invalid, the date will be invalid.

class Date
void
setYear

Parameters

year GDateYear

year to set