29#ifndef GNC_DATE_FORMAT_H
30#define GNC_DATE_FORMAT_H
38#define GNC_TYPE_DATE_FORMAT (gnc_date_format_get_type ())
39G_DECLARE_FINAL_TYPE (GNCDateFormat, gnc_date_format, GNC, DATE_FORMAT, GtkBox)
41GtkWidget *gnc_date_format_new (
void);
42GtkWidget *gnc_date_format_new_without_label (
void);
43GtkWidget *gnc_date_format_new_with_label (
const char *label);
45void gnc_date_format_set_format (GNCDateFormat *gdf,
QofDateFormat format);
48void gnc_date_format_set_months (GNCDateFormat *gdf,
52void gnc_date_format_set_years (GNCDateFormat *gdf,
53 gboolean include_century);
54gboolean gnc_date_format_get_years (GNCDateFormat *gdf);
56void gnc_date_format_set_custom (GNCDateFormat *gdf,
const char *format);
57const char* gnc_date_format_get_custom (GNCDateFormat *gdf);
59void gnc_date_format_refresh (GNCDateFormat *gdf);
GNCDateMonthFormat
This is how to format the month, as a number, an abbreviated string, or the full name.
QofDateFormat
Enum for determining a date format.