Batteries are sold with an expiration date on the package, and I don't think that's usually decades out.
In the 80s I remember seeing expiry dates on AA packs of 99, and my child-brain thought they didn't expire so they put a meaningless number there instead - I couldn't process the idea of the year 1999.
I've had the opposite problem. I was reading a lithium battery package many times, frustrated that I could not find the expiration date. I finally realized that "2032" was printed as a year and was not an alternate size code.
But 10 years is also the rated lifetime for CR2032 cells. Those made in 2022 will definetly still be good to use in 2032. I've had some last as PC CMOS ram backup cells since the late 90's and they are not rechargeable, nor being charged in the system they are in.
Sounds like nearly decades to me if buying in 80's and have an expiration of 99... Just because a childlike brain of hours can't understand that sort of time doesn't mean it's not literally decades.
In the 80s I remember seeing expiry dates on AA packs of 99, and my child-brain thought they didn't expire so they put a meaningless number there instead - I couldn't process the idea of the year 1999.