OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
calday.c File Reference

Go to the source code of this file.

Functions

int daysInYear (int year)
 
int daysInMonth (int year, int month)
 
int getCalDay (int year, int jday, int *month, int *day)
 
int getJulianDay (int year, int month, int day)
 

Function Documentation

◆ daysInMonth()

int daysInMonth ( int  year,
int  month 
)

Definition at line 9 of file calday.c.

◆ daysInYear()

int daysInYear ( int  year)

Definition at line 3 of file calday.c.

◆ getCalDay()

int getCalDay ( int  year,
int  jday,
int *  month,
int *  day 
)

Definition at line 14 of file calday.c.

◆ getJulianDay()

int getJulianDay ( int  year,
int  month,
int  day 
)

Definition at line 33 of file calday.c.