Method

GLibDateget_year

Declaration

GDateYear
g_date_get_year (
  const GDate* date
)

Description

Returns the year of a GDate. The date must be valid.

Return value

Returns: GDateYear
 

Year in which the date falls.