diff options
Diffstat (limited to 'calendar/timeutil.h')
-rw-r--r-- | calendar/timeutil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/timeutil.h b/calendar/timeutil.h index 1683df7527..8f9157351c 100644 --- a/calendar/timeutil.h +++ b/calendar/timeutil.h @@ -18,6 +18,10 @@ time_t time_from_start_duration (time_t start, char *duration); char *isodate_from_time_t (time_t t); int get_time_t_hour (time_t t); +time_t time_add_week (time_t time, int weeks); +time_t time_add_day (time_t time, int weeks); +time_t time_add_year (time_t time, int years); + /* Returns pointer to a statically-allocated buffer with a string of the form * 3am, 4am, 12pm, 08h, 17h, etc. * The string is internationalized, hopefully correctly. |