A sphere with three ocean waves in differing shades of blue. Next to the sphere, there is the bolded text "Ocean Color". Under that, there are two acronyms, separated by a vertical pipe: OB.DAAC (Ocean Biology Distributed Active Archive Center) and OBPG (Ocean Biology Processing Group).
Lorem
ipsum
dolor
sit
amet
Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
oel_util
libtimeutils
isleap.c
Go to the documentation of this file.
1
2
/* determine if year is a leap year or not */
3
int
isleap
(
int
year) {
4
if
(((year % 400) == 0) || (((year % 4) == 0) && ((year % 100) != 0)))
5
return
1;
6
else
7
return
0;
8
}
isleap
int isleap(int year)
Definition:
isleap.c:3