aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h32
1 files changed, 26 insertions, 6 deletions
diff --git a/src/utils.h b/src/utils.h
index 73bd83a..3b0d0a2 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -27,13 +27,33 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
G_BEGIN_DECLS
-gboolean is_locale_12h (void);
-void split_settings_location (const gchar * location, gchar ** zone, gchar ** name);
-gchar * get_current_zone_name (const gchar * location);
-gchar * generate_format_string_full (gboolean show_day, gboolean show_date);
-gchar * generate_format_string_at_time (GDateTime * now, GDateTime * time);
-gchar * join_date_and_time_format_strings (const char * date, const char * time);
+gboolean is_locale_12h (void);
+void split_settings_location (const char * location,
+ char ** zone,
+ char ** name);
+
+gchar * get_current_zone_name (const char * location);
+
+gchar* join_date_and_time_format_strings (const char * date_fmt,
+ const char * time_fmt);
+/***
+****
+***/
+
+const gchar * get_terse_time_format_string (GDateTime * time);
+
+const gchar * get_full_time_format_string (void);
+
+gchar * generate_terse_format_string_at_time (GDateTime * now,
+ GDateTime * time);
+
+gchar * generate_full_format_string (gboolean show_day,
+ gboolean show_date);
+
+gchar * generate_full_format_string_at_time (GDateTime * now,
+ GDateTime * time);
+
G_END_DECLS
#endif