Method

LunarDateDateset_lunar_holiday

since: 3.0.0

Declaration [src]

void
lunar_date_set_lunar_holiday (
  LunarDate* date,
  GDateMonth month,
  GDateDay day,
  const gchar* holiday
)

Description [src]

Add new holiday by lunar.

Available since: 3.0.0

Parameters

month

Type: GDateMonth

Lunar month of the holiday.

day

Type: GDateDay

Lunar day of the holiday.

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.