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
}
spacetrack_tles.year
year
Definition:
spacetrack_tles.py:170
isleap
int isleap(int year)
Definition:
isleap.c:3