birthday.addYear(n).addDay(-1)じゃなくbirthday.addDay(-1).addYear(n)なら問題はないが
民法第143条https://ja.m.wikibooks.org/wiki/%E6%B0%91%E6%B3%95%E7%AC%AC143%E6%9D%A1
もちろん1582年とかを絡めないものとする
あ。問題あるわ。2019-03-01生まれの人は2020-02-29に1歳になるべきだ
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.