Function

GLibDatevalid_day

Declaration

gboolean
g_date_valid_day (
  GDateDay day
)

Description

Returns TRUE if the day of the month is valid (a day is valid if it’s between 1 and 31 inclusive).

Parameters

day

Type: GDateDay

Day to check.

Return value

Type: gboolean

TRUE if the day is valid.