Method

LunarDateDateget_holiday

since: 3.0.0

Declaration [src]

gchar*
lunar_date_get_holiday (
  LunarDate* date,
  const gchar* delimiter
)

Description [src]

Returns the all holiday of the date, joined with the delimiter. The date must be valid.

Available since: 3.0.0

Parameters

delimiter

Type: const gchar*

Used to join the holidays.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gchar*

A newly-allocated holiday string of the date or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.