-
Notifications
You must be signed in to change notification settings - Fork 0
/
date.h
43 lines (35 loc) · 1.53 KB
/
date.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* This file is part of 34S.
*
* 34S 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.
*
* 34S 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 34S. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _DATE_H_
#define _DATE_H_
#include "xeq.h"
extern decNumber *dateDayOfWeek(decNumber *res, const decNumber *x);
extern decNumber *dateExtraction(decNumber *res, const decNumber *x);
extern decNumber *dateToJ(decNumber *res, const decNumber *x);
extern decNumber *dateFromJ(decNumber *res, const decNumber *x);
extern decNumber *dateFromYMD(decNumber *res, const decNumber *z, const decNumber *y, const decNumber *x);
extern decNumber *dateEaster(decNumber *res, const decNumber *x);
extern void date_isleap(enum nilop op);
extern void date_alphaday(enum nilop op);
extern void date_alphamonth(enum nilop op);
extern void date_alphadate(enum nilop op);
extern void date_alphatime(enum nilop op);
extern void date_time(enum nilop op);
extern void date_date(enum nilop op);
extern void date_settime(enum nilop op);
extern void date_setdate(enum nilop op);
extern void date_24(enum nilop op);
#endif