summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-12-08 08:35:55 +0000
committerFrederic Culot <calcurse@culot.org>2006-12-08 08:35:55 +0000
commit8e5acf9ca6cc05d0de86c76bd82edbc0619e05e4 (patch)
treead853adaffb7fda85c0402c3d42f993fb9bc1b4a /src
parentda4a1825448859666086356001cec38e8a245b8f (diff)
downloadcalcurse-8e5acf9ca6cc05d0de86c76bd82edbc0619e05e4.tar.gz
calcurse-8e5acf9ca6cc05d0de86c76bd82edbc0619e05e4.zip
date_sec2hour_str(), date_sec2date_str() and update_time_in_date() added
Diffstat (limited to 'src')
-rwxr-xr-xsrc/utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index 14e5607..215fca0 100755
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,4 +1,4 @@
-/* $calcurse: utils.h,v 1.9 2006/11/30 08:12:23 culot Exp $ */
+/* $calcurse: utils.h,v 1.10 2006/12/08 08:35:55 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -65,6 +65,9 @@ void scroller(WINDOW *win, char *, int x, int y, int nb_row, int nb_col);
void status_bar(int which_pan, int colr, int nc_bar, int nl_bar);
long date2sec(unsigned year, unsigned month, unsigned day, unsigned hour,
unsigned min);
+char *date_sec2hour_str(long sec);
+char *date_sec2date_str(long sec);
+long update_time_in_date(long date, unsigned hr, unsigned min);
long get_sec_date(int year, int month, int day);
long min2sec(unsigned minutes);
int check_time(char *string);