equal
deleted
inserted
replaced
337 * The result will be a {@code ZoneId} with the specified UTC/GMT/UT prefix |
337 * The result will be a {@code ZoneId} with the specified UTC/GMT/UT prefix |
338 * and the normalized offset ID as per {@link ZoneOffset#getId()}. |
338 * and the normalized offset ID as per {@link ZoneOffset#getId()}. |
339 * The rules of the returned {@code ZoneId} will be equivalent to the |
339 * The rules of the returned {@code ZoneId} will be equivalent to the |
340 * parsed {@code ZoneOffset}. |
340 * parsed {@code ZoneOffset}. |
341 * <li>All other IDs are parsed as region-based zone IDs. Region IDs must |
341 * <li>All other IDs are parsed as region-based zone IDs. Region IDs must |
342 * match the regular expression <code>[A-Za-z][A-Za-z0-9~/._+-]+</code> |
342 * match the regular expression {@code [A-Za-z][A-Za-z0-9~/._+-]+} |
343 * otherwise a {@code DateTimeException} is thrown. If the zone ID is not |
343 * otherwise a {@code DateTimeException} is thrown. If the zone ID is not |
344 * in the configured set of IDs, {@code ZoneRulesException} is thrown. |
344 * in the configured set of IDs, {@code ZoneRulesException} is thrown. |
345 * The detailed format of the region ID depends on the group supplying the data. |
345 * The detailed format of the region ID depends on the group supplying the data. |
346 * The default set of data is supplied by the IANA Time Zone Database (TZDB). |
346 * The default set of data is supplied by the IANA Time Zone Database (TZDB). |
347 * This has region IDs of the form '{area}/{city}', such as 'Europe/Paris' or 'America/New_York'. |
347 * This has region IDs of the form '{area}/{city}', such as 'Europe/Paris' or 'America/New_York'. |