I meant - can we write our own function to do that?
for example -
I tried to get all available timezones and checked if the raw offset falls within a range of US timezones but noticed that it is also returning Mexican timezones.
I tried to parse for the
string "America/" but there could other timezone strings that satrt with "America/" that do not belong to US.
Badly need to do this using JDK.