📜  闰年的规则是什么 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:52.404000             🧑  作者: Mango

代码示例1
Every year that is exactly divisible by four is a leap year, 
except for years that are exactly divisible by 100, 
but these centurial years are leap years if they are exactly divisible by 400.
For example, the years 1700, 1800, and 1900 are not leap years, 
but the years 1600 and 2000 are.