現リビジョン(?)、普通に論理演算使うやつと同じ結果が出るか、0年から百万年まで試してみたら、0年以外はあってるっぽい!><(0年どうしよう?><;)
https://gist.github.com/orange-in-space/b3ba7c5161f2f0089b922b57ddb9be51
gistに置いてみました!><
閏年を論理演算じゃなく判定するやつ!>< https://gist.github.com/orange-in-space/b3ba7c5161f2f0089b922b57ddb9be51
((year % 4) == 0) && !(((year % 100) == 0) && year % 400)) なるほど
https://mstdn.nere9.help/@orange_in_space/102978163294180440
https://amefur.asia/@acid_rain/102978168873419741