Method

GLibDateset_year

Declaration [src]

void
g_date_set_year (
  GDate* date,
  GDateYear year
)

Description [src]

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

Parameters

year

Type: GDateYear

Year to set.