X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcalendar.h;h=02a9de28ace572aa9ddf5923e8fb61cdf8fcb85a;hb=ff47c7eb6e8335ef6042e3a437f3d30ef27600a7;hp=5535690447ee1c55f24dc3383bca27ddb6aa8931;hpb=a258e53c63a08b0ec48aea8f03808eb651729424;p=pspp diff --git a/src/data/calendar.h b/src/data/calendar.h index 5535690447..02a9de28ac 100644 --- a/src/data/calendar.h +++ b/src/data/calendar.h @@ -1,7 +1,29 @@ +/* +PSPP - a program for statistical analysis. +Copyright (C) 2017 Free Software Foundation, Inc. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #ifndef CALENDAR_H #define CALENDAR_H 1 -double calendar_gregorian_to_offset (int y, int m, int d, char **errorp); +struct fmt_settings; + +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);