Function

GLibDatevalid_weekday

Declaration

gboolean
g_date_valid_weekday (
  GDateWeekday weekday
)

Description

Returns TRUE if the weekday is valid. The seven GDateWeekday enumeration values are the only valid weekdays.

Parameters

weekday GDateWeekday
 

Weekday.

Return value

Returns: gboolean
 

TRUE if the weekday is valid.