I have some code that reads a short timezone id from a record and passes it through this:
ZoneId.of(ZoneId.SHORT_IDS.get(place.getTz()))
I don't have control over what timezone ids are used, but I was under the impression that it would always be a legal short timezone id.
I guess the situation is that I needed to ask "a legal short timezone id according to WHICH STANDARD?" For instance, I just discovered that we have records with a timezone id of "AKST", which corresponds to Alaska standard time. The Java ZoneId class doesn't recognize this.
My workaround will be to manually construct the ZoneId for the timezone ids in the US that I know I will need to support, but which I know ZoneId does not support. My list is now one entry long. Are there any other "standard" (whatever that means) short timezone ids that ZoneId does not support?