ZoneId.of

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

  1. ZoneId of(string zoneId, Map!(string, string) aliasMap)
  2. ZoneId of(string zoneId)
  3. ZoneId of(string zoneId, bool checkAvailable)
    class ZoneId
    deprecated static
    of
    (
    string zoneId
    ,)

Meta