OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
julian.c File Reference
#include <math.h>
#include "orbit.h"
Include dependency graph for julian.c:

Go to the source code of this file.

Macros

#define IGREG1   (15L + 31L * (10L + 12L * 1582L))
 
#define IGREG2   2299161L
 

Functions

int32_t julday (int year, int month, int day)
 
void caldat (int32_t julian, int *year, int *month, int *day)
 

Macro Definition Documentation

◆ IGREG1

#define IGREG1   (15L + 31L * (10L + 12L * 1582L))

Definition at line 35 of file julian.c.

◆ IGREG2

#define IGREG2   2299161L

Definition at line 72 of file julian.c.

Function Documentation

◆ caldat()

void caldat ( int32_t  julian,
int *  year,
int *  month,
int *  day 
)

Definition at line 75 of file julian.c.

◆ julday()

int32_t julday ( int  year,
int  month,
int  day 
)

Definition at line 37 of file julian.c.