Go to the source code of this file.
◆ ANCSIZE
◆ gen_time_string()
◆ isleap()
◆ jdate()
| int jdate |
( |
int32_t |
julianDay, |
|
|
int32_t * |
year, |
|
|
int32_t * |
dayOfYear |
|
) |
| |
Takes in a julian day and mutates year and doy to contain the gregorian year and day of that gregorian year of that julian day.
- Parameters
-
| julianDay | The Julian day to be converted |
| year | Out-parameter indicating the gregorian year that julianDay is in |
| dayOfYear | Out-parameter indicating the number of days into the gregorian year that julianDay is. |
Definition at line 13 of file jdate.c.
◆ jday()
| int32_t jday |
( |
int16_t |
year, |
|
|
int16_t |
month, |
|
|
int16_t |
day |
|
) |
| |
Converts a calendar date to the corresponding Julian day starting at noon on the calendar date. Originally implemented by Frederick S. Patt, GSC, November 4 1992. [Van] Flandern and Pulkkinen, Ap. J. Supplement Series 41, November 1979, p. 400.
- Parameters
-
| year | 4-digit year |
| month | 1-12 |
| day | 1-31 |
- Returns
- The astronomical Julian day corresponding to the one starting at noon on the calendar day
Definition at line 14 of file jday.c.