Method
LunarDateDateset_week_holiday
since: 3.0.0
Declaration [src]
void
lunar_date_set_week_holiday (
LunarDate* date,
GDateMonth month,
gint week_of_month,
gint day_of_week,
const gchar* holiday
)
Parameters
month-
Type:
GDateMonthMonth of the holiday.
week_of_month-
Type:
gintWhich week of the month, the first week is 1, range is 1-5.
day_of_week-
Type:
gintDay of the week, 0 for Sunday, 6 for Saturday, range is 0-6.
holiday-
Type:
const gchar*Custom holiday string.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.