X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcalendar.h;h=ce3fcc2ee352f73193a44895fcaa70d63548a98e;hb=8d023f3691564159dfd300cc92f386b47186bf50;hp=02a9de28ace572aa9ddf5923e8fb61cdf8fcb85a;hpb=f2175b7167a5d2abacf3edbb1fa098716fc52442;p=pspp diff --git a/src/data/calendar.h b/src/data/calendar.h index 02a9de28ac..ce3fcc2ee3 100644 --- a/src/data/calendar.h +++ b/src/data/calendar.h @@ -21,9 +21,14 @@ along with this program. If not, see . struct fmt_settings; +int *calendar_gregorian_adjust (int *y, int *m, int *d, + const struct fmt_settings *); +int calendar_raw_gregorian_to_offset (int y, int m, int d); + double calendar_gregorian_to_offset (int y, int m, int d, const struct fmt_settings *, char **errorp); + void calendar_offset_to_gregorian (int ofs, int *y, int *m, int *d, int *yd); int calendar_offset_to_year (int ofs); int calendar_offset_to_month (int ofs);