Go to the documentation of this file.
10 int32_t
ja,
jb, jc,
jd, je, jalpha;
12 jalpha = (int32_t) (((
julian - 1867216
L) - 0.25) / 36524.25);
13 ja =
julian + 1 + jalpha - (int32_t) (0.25 * jalpha);
16 jc = (int32_t) (6680.0 + ((
jb - 2439870
L) - 122.1) / 365.25);
17 jd = 365 * jc + (int32_t) (0.25 * jc);
18 je = (int32_t) ((
jb -
jd) / 30.6001);
20 day =
jb -
jd - (int32_t) (30.6001 * je);
29 int dmn[24] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31,
30 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
int jdate(int32_t julian, int32_t *year, int32_t *doy)
integer function julian(DAY, MONTH, YEAR)