Method

LunarDateDateset_solar_holiday

since: 3.0.0

Declaration [src]

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

Description [src]

Add new holiday by solar.

Available since: 3.0.0

Parameters

month

Type: GDateMonth

Solar month of the holiday.

day

Type: GDateDay

Solar 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.