X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcalendar.h;h=06d2fd3a49b0f350b1015e05fc8fa41223421304;hb=2cae74e57bd1bc78f09ef0b01411d3ba83a9857d;hp=1a70592bcf9e6b64277e1c65db4796c29245219f;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp-builds.git diff --git a/src/data/calendar.h b/src/data/calendar.h index 1a70592b..06d2fd3a 100644 --- a/src/data/calendar.h +++ b/src/data/calendar.h @@ -5,11 +5,13 @@ typedef void calendar_error_func (void *aux, const char *, ...); double calendar_gregorian_to_offset (int y, int m, int d, calendar_error_func *, void *aux); -void calendar_offset_to_gregorian (int ofs, int *y, int *m, int *d); +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); int calendar_offset_to_mday (int ofs); int calendar_offset_to_yday (int ofs); int calendar_offset_to_wday (int ofs); +int calendar_days_in_month (int y, int m); + #endif /* calendar.h */