ocssw
V2022
|
jdate.c File Reference
Include dependency graph for jdate.c:
Go to the source code of this file.
Functions | |
int | jdate (int32_t julianDay, int32_t *year, int32_t *dayOfYear) |
Function Documentation
◆ 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 indayOfYear Out-parameter indicating the number of days into the gregorian year that julianDay
is.