-double calendar_gregorian_to_offset (int y, int m, int d, char **errorp);
+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);
+