Method

LunarDateDateget_calendar

since: 3.0.0

Declaration [src]

gchar*
lunar_date_get_calendar (
  LunarDate* date,
  gint max
)

Description [src]

Returns the string about the date, used to show in calendar.

Available since: 3.0.0

Parameters

max

Type: gint

Max length of the returned string.

Return value

Type: gchar*

A newly-allocated 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.