Skip to content

Commit

Permalink
Reflects review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
naotoj committed Dec 20, 2024
1 parent 36d3e8c commit 5439c2c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1133,10 +1133,9 @@ public DateTimeFormatterBuilder appendZoneId() {

/**
* Appends the time-zone region ID, such as 'Europe/Paris', to the formatter,
* rejecting the zone ID if it is a {@code ZoneOffset} during formatting.
* rejecting the zone ID if it is a {@code ZoneOffset}.
* <p>
* This appends an instruction to format/parse the zone ID to the builder
* only if it is a region-based ID.
* This appends an instruction to format only region-based zone IDs to the builder.
* <p>
* During formatting, the zone is obtained using a mechanism equivalent
* to querying the temporal with {@link TemporalQueries#zoneId()}.
Expand Down

0 comments on commit 5439c2c

Please sign in to comment.