diff options
author | nobody <nobody@localhost> | 2001-08-04 06:36:03 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-08-04 06:36:03 +0800 |
commit | b266f65c147b99ecae0297ff1ef1c801bfc6f883 (patch) | |
tree | f3c195439d0a5928ddb85c3a1583b09eb498443a /e-util/e-time-utils.h | |
parent | 308aaf47ea788683b47a600d6c6f31563d7ee070 (diff) | |
download | gsoc2013-evolution-gnomemm_1_2_1.tar gsoc2013-evolution-gnomemm_1_2_1.tar.gz gsoc2013-evolution-gnomemm_1_2_1.tar.bz2 gsoc2013-evolution-gnomemm_1_2_1.tar.lz gsoc2013-evolution-gnomemm_1_2_1.tar.xz gsoc2013-evolution-gnomemm_1_2_1.tar.zst gsoc2013-evolution-gnomemm_1_2_1.zip |
This commit was manufactured by cvs2svn to create taggnomemm_1_2_1
'gnomemm_1_2_1'.
svn path=/tags/gnomemm_1_2_1/; revision=11631
Diffstat (limited to 'e-util/e-time-utils.h')
-rw-r--r-- | e-util/e-time-utils.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/e-util/e-time-utils.h b/e-util/e-time-utils.h deleted file mode 100644 index f6d85df5ac..0000000000 --- a/e-util/e-time-utils.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * Time utility functions - * - * Author: - * Damon Chaplin (damon@ximian.com) - * - * (C) 2001 Ximian, Inc. - */ - -#ifndef E_TIME_UTILS -#define E_TIME_UTILS - -#include <time.h> -#include <glib.h> - -typedef enum { - E_TIME_PARSE_OK, - E_TIME_PARSE_NONE, - E_TIME_PARSE_INVALID -} ETimeParseStatus; - -/* Tries to parse a string containing a date and time. */ -ETimeParseStatus e_time_parse_date_and_time (const char *value, - struct tm *result); - -/* Tries to parse a string containing a date. */ -ETimeParseStatus e_time_parse_date (const char *value, - struct tm *result); - -/* Tries to parse a string containing a time. */ -ETimeParseStatus e_time_parse_time (const char *value, - struct tm *result); - -/* Turns a struct tm into a string like "Wed 3/12/00 12:00:00 AM". */ -void e_time_format_date_and_time (struct tm *date_tm, - gboolean use_24_hour_format, - gboolean show_midnight, - gboolean show_zero_seconds, - char *buffer, - int buffer_size); - -/* Formats a time from a struct tm, e.g. "01:59 PM". */ -void e_time_format_time (struct tm *date_tm, - gboolean use_24_hour_format, - gboolean show_zero_seconds, - char *buffer, - int buffer_size); - - - - -#endif /* E_TIME_UTILS */ |