tzdata is a database about time and it has all this builtin. Even dates when countries switched from one system to another. So if your code uses the tzdata database through a library, you probably don't have to do anything.
Yeah, and as a database of time changes over the last 50 years, it's not going to go away, as you'll need it for historical dates, and for other time zone changes that occur anyways.