Method

GLibDateget_monday_week_of_year

Declaration

guint
g_date_get_monday_week_of_year (
  const GDate* date
)

Description

Returns the week of the year, where weeks are understood to start on Monday. If the date is before the first Monday of the year, return 0. The date must be valid.

Return value

Returns: guint
 

Week of the year.