OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
day2mday.c File Reference

Go to the source code of this file.

Macros

#define IS_LEAP_YEAR(y)   ( (!((y)%4) && (y)%100) || !((y)%400) )
 

Functions

int day2mday (int year, int day_of_year, int *month, int *day_of_month)
 

Macro Definition Documentation

◆ IS_LEAP_YEAR

#define IS_LEAP_YEAR (   y)    ( (!((y)%4) && (y)%100) || !((y)%400) )

Definition at line 1 of file day2mday.c.

Function Documentation

◆ day2mday()

int day2mday ( int  year,
int  day_of_year,
int *  month,
int *  day_of_month 
)

Definition at line 3 of file day2mday.c.