26 #define ENUM_ERR_LIST(_) \
27 _(ERR_NO_ERROR, = 0) \
28 _(ERR_WEEKDAY_NAME,) \
30 _(ERR_LOCALE_DATE_TIME,) \
31 _(ERR_STANDARD_DAY,) \
35 _(ERR_SECS_NO_DIGITS,) \
37 _(ERR_G_INCOMPLETE,) \
40 _(ERR_MIN_TO_DECIMAL,) \
42 _(ERR_INVALID_FORMAT,) \
43 _(ERR_OUT_OF_RANGE,) \
44 _(ERR_INVALID_DELIMITER,) \
48 DEFINE_ENUM (QofDateError, ENUM_ERR_LIST)
50 AS_STRING_DEC (QofDateError, ENUM_ERR_LIST)
70 strftime_case (gboolean upcase, gchar * s,
size_t maxsize,
71 const gchar *format, const
QofDate *qd, gint ut, glong ns);
111 strptime_internal (const gchar * rp, const gchar * fmt,
112 QofDate * qd, QofDateError * error);
117 days_between (gint64 year1, gint64 year2);
121 set_day_of_the_week (
QofDate * qd);