> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
On Fri, 8 Sep 2023 14:43:59 GMT, Roger Riggs wrote:
>> Naoto Sato has updated the pull request with a new target base due to a
>> merge or a rebase. The incremental webrev excludes the unrelated changes
>> brought in by the merge/rebase. The pull request contains 24 additional
>> commits since
On Thu, 7 Sep 2023 18:20:28 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-general
On Thu, 7 Sep 2023 16:57:20 GMT, Roger Riggs wrote:
>> Naoto Sato has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Incorporating suggested changes
>
> src/java.base/share/classes/java/text/ListFormat.java line 95:
>
>> 93: * On parsing,
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
On Tue, 5 Sep 2023 22:47:01 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-general
On Tue, 5 Sep 2023 22:47:01 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-general
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
On Tue, 5 Sep 2023 21:14:00 GMT, Roger Riggs wrote:
>> Naoto Sato has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Removing unnecessary commas
>
> src/java.base/share/classes/java/text/ListFormat.java line 90:
>
>> 88: * method specifie
On Tue, 29 Aug 2023 16:51:49 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-genera
On Tue, 5 Sep 2023 19:50:26 GMT, Naoto Sato wrote:
>> src/java.base/share/classes/java/text/ListFormat.java line 560:
>>
>>> 558: * The {@code UNIT} ListFormat style. This style concatenates
>>> 559: * elements, useful for enumerating units.
>>> 560: */
>>
>> The word
On Tue, 5 Sep 2023 20:25:52 GMT, Roger Riggs wrote:
>> Good point. Will add some kind of limitation.
>
> I can't see what arbitrary limit would make sense.
> But perhaps an APINote that formatting the string from an excessively long
> list may exceed memory or string sizes. (Without being speci
On Tue, 5 Sep 2023 20:29:53 GMT, Joe Wang wrote:
>> Type and Style select a pattern defined for the locale. (for the zero arg
>> and three arg getInstance methods).
>> I think I would avoid the term "concatenation", the type defines a pattern
>> that contains punctuation and connecting words. T
On Tue, 5 Sep 2023 20:15:26 GMT, Roger Riggs wrote:
>> I think that Type/Style/Locale forming a specific pattern is an
>> implementation detail, so I would not describe it in the spec (although as
>> you say they form a specific pattern in the impl). It could be that an impl
>> of 3-arg getIns
On Tue, 5 Sep 2023 19:50:29 GMT, Naoto Sato wrote:
>> src/java.base/share/classes/java/text/ListFormat.java line 521:
>>
>>> 519: var sb = new StringBuilder(256).append(patterns[START]);
>>> 520: IntStream.range(2, count - 1).forEach(i ->
>>> sb.append(middleBetween).append("{")
On Tue, 5 Sep 2023 20:17:14 GMT, Naoto Sato wrote:
>> I'd stick to the general first sentence structure used by DateFormat,
>> Format, and MessageFormat.
>> ("tools" in OpenJDK are standalone programs.)
>>
>> For example,
>> "ListFormat formats and parses lists of strings."
>
> I agree, Roger.
On Tue, 5 Sep 2023 19:50:23 GMT, Naoto Sato wrote:
>> src/java.base/share/classes/java/text/ListFormat.java line 48:
>>
>>> 46: * List Patterns.
>>> 47: *
>>> 48: * Three types of concatenation are provided: {@link Type#STANDARD
>>> STANDARD},
>>
>> A "Type" and "Style" together make up a
On Tue, 5 Sep 2023 20:04:57 GMT, Roger Riggs wrote:
>> Thanks. Will modify the wording in the next revision. I think we should
>> stick to the wording `format`/`parse` here.
>
> I'd stick to the general first sentence structure used by DateFormat, Format,
> and MessageFormat.
> ("tools" in Open
On Tue, 5 Sep 2023 19:50:20 GMT, Naoto Sato wrote:
>> src/java.base/share/classes/java/text/ListFormat.java line 46:
>>
>>> 44: * defined in Unicode Consortium's LDML specification for
>>> 45: * >> href="https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns";>
>>> 46: * List Pat
On Sun, 3 Sep 2023 05:05:49 GMT, Joe Wang wrote:
>> Naoto Sato has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Removing unnecessary commas
>
> src/java.base/share/classes/java/text/ListFormat.java line 46:
>
>> 44: * defined in Unicode
On Tue, 29 Aug 2023 16:51:49 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-genera
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
On Mon, 28 Aug 2023 20:05:41 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-genera
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
On Thu, 10 Aug 2023 17:31:28 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-genera
On Thu, 10 Aug 2023 17:31:28 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-genera
On Thu, 10 Aug 2023 16:59:14 GMT, Naoto Sato wrote:
>> src/java.base/share/classes/java/text/ListFormat.java line 58:
>>
>>> 56: * .format(List.of("Foo", "Bar", "Baz"))
>>> 57: * }
>>> 58: * This will produce the concatenated list string, "Foo, Bar, and Baz"
>>> as seen in
>>
>> With th
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
On Wed, 9 Aug 2023 23:39:24 GMT, Joe Wang wrote:
>> Naoto Sato has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Small cleanup
>
> src/java.base/share/classes/java/text/ListFormat.java line 58:
>
>> 56: * .format(List.of("Foo", "Bar"
On Wed, 9 Aug 2023 00:46:58 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-general
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
On Tue, 8 Aug 2023 19:49:19 GMT, Roger Riggs wrote:
>> Naoto Sato has updated the pull request with a new target base due to a
>> merge or a rebase. The incremental webrev excludes the unrelated changes
>> brought in by the merge/rebase. The pull request contains five additional
>> commits sin
On Tue, 8 Aug 2023 17:19:55 GMT, Naoto Sato wrote:
>> Introducing a new formatting class for locale-dependent list patterns. The
>> class is to provide the functionality from the Unicode Consortium's LDML
>> specification for [list
>> patterns](https://www.unicode.org/reports/tr35/tr35-general
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
> Introducing a new formatting class for locale-dependent list patterns. The
> class is to provide the functionality from the Unicode Consortium's LDML
> specification for [list
> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
> For example, given a list of Stri
Introducing a new formatting class for locale-dependent list patterns. The
class is to provide the functionality from the Unicode Consortium's LDML
specification for [list
patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
For example, given a list of String as "Mon
43 matches
Mail list logo