6 lines
105 B
Text
6 lines
105 B
Text
func isleap(year) {
|
|
if (year %% 100) {
|
|
return (year %% 400);
|
|
}
|
|
return (year %% 4);
|
|
}
|