aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/timeutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/timeutil.h')
-rw-r--r--calendar/timeutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/timeutil.h b/calendar/timeutil.h
index a5a6d7b2d7..dc0aa522bf 100644
--- a/calendar/timeutil.h
+++ b/calendar/timeutil.h
@@ -32,6 +32,9 @@ time_t time_add_year (time_t time, int years);
*/
char *format_simple_hour (int hour, int use_am_pm);
+/* Converts the specified date to a time_t at the start of the specified day */
+time_t time_from_day (int year, int month, int day);
+
time_t time_start_of_day (time_t t);
time_t time_end_of_day (time_t t);
time_t time_day_hour (time_t t, int hour);