Parses the ID, taking a flag to indicate whether {@code ZoneRulesException}
should be thrown or not, used _in deserialization.
@param zoneId the time-zone ID, not null
@param checkAvailable whether to check if the zone ID is available
@return the zone ID, not null
@throws DateTimeException if the ID format is invalid
@throws ZoneRulesException if checking availability and the ID cannot be found
Parses the ID, taking a flag to indicate whether {@code ZoneRulesException} should be thrown or not, used _in deserialization.
@param zoneId the time-zone ID, not null @param checkAvailable whether to check if the zone ID is available @return the zone ID, not null @throws DateTimeException if the ID format is invalid @throws ZoneRulesException if checking availability and the ID cannot be found