Date.getDaysInMonth

ubyte getDaysInMonth(glib.types.DateMonth month, glib.types.DateYear year)

Returns the number of days in a month, taking leap years into account.

Parameters

monthmonth
yearyear

Returns

number of days in month during the year