1 #ifndef _UTILS_DATES_H 2 #define _UTILS_DATES_H (1) 3 4 #include <gtk/gtk.h> 5 6 /* START_INCLUDE_H */ 7 /* END_INCLUDE_H */ 8 9 10 /* START_DECLARATION */ 11 GDate * gdate_today (void); 12 GDate * gsb_date_add_one_month (GDate *date, 13 gboolean free); 14 gboolean gsb_date_check_and_complete_entry (GtkWidget *entry, 15 gboolean set_today); 16 gboolean gsb_date_check_entry (GtkWidget *entry); 17 GDate * gsb_date_copy (const GDate *date); 18 void gsb_date_free_last_date (void); 19 gchar ** gsb_date_get_date_content (const gchar *date_string); 20 gchar ** gsb_date_get_date_time_now_local (void); 21 GDate * gsb_date_get_first_banking_day_after_date (const GDate *date); 22 GDate * gsb_date_get_first_banking_day_before_date (const GDate *date); 23 gchar * gsb_date_get_format_date (void); 24 GDate * gsb_date_get_first_day_of_current_month (void); 25 GDate * gsb_date_get_last_banking_day_of_month (const GDate *date); 26 GDate * gsb_date_get_last_day_of_month (const GDate *date); 27 GDate * gsb_date_get_last_entry_date (const gchar *string); 28 gchar * gsb_date_initialise_format_date (void); 29 void gsb_date_set_import_format_date (const GArray *lines_tab, 30 gint index); 31 void gsb_date_set_format_date (const gchar *format_date); 32 void gsb_date_set_last_date (const gchar *date); 33 gchar * gsb_date_today (void); 34 GDate * gsb_date_tomorrow (void); 35 gchar * gsb_format_date (gint day, 36 gint month, 37 gint year); 38 gchar * gsb_format_gdate (const GDate *date); 39 gchar * gsb_format_gdate_safe (const GDate *date); 40 GDate * gsb_parse_import_date_string (const gchar *date_string); 41 GDate * gsb_parse_date_string (const gchar *date_string); 42 GDate * gsb_parse_date_string_safe (const gchar *date_string); 43 /* END_DECLARATION */ 44 #endif 45