mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8305206: Add @spec tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
This commit is contained in:
parent
ccbb0e8d89
commit
c6bd489cc8
60 changed files with 268 additions and 2 deletions
|
@ -760,6 +760,8 @@ public final class DateTimeFormatter {
|
|||
* @param requestedTemplate the requested template, not null
|
||||
* @return the formatter based on the {@code requestedTemplate} pattern, not null
|
||||
* @throws IllegalArgumentException if {@code requestedTemplate} is invalid
|
||||
*
|
||||
* @spec https://www.unicode.org/reports/tr35 Unicode Locale Data Markup Language (LDML)
|
||||
* @see #ofPattern(String)
|
||||
* @since 19
|
||||
*/
|
||||
|
|
|
@ -1525,6 +1525,8 @@ public final class DateTimeFormatterBuilder {
|
|||
* @param requestedTemplate the requested template to use, not null
|
||||
* @return this, for chaining, not null
|
||||
* @throws IllegalArgumentException if {@code requestedTemplate} is invalid
|
||||
*
|
||||
* @spec https://www.unicode.org/reports/tr35 Unicode Locale Data Markup Language (LDML)
|
||||
* @see #appendPattern(String)
|
||||
* @since 19
|
||||
*/
|
||||
|
@ -1608,6 +1610,8 @@ public final class DateTimeFormatterBuilder {
|
|||
*
|
||||
* @param style the text style to use, not null
|
||||
* @return this, for chaining, not null
|
||||
*
|
||||
* @spec https://www.unicode.org/reports/tr35 Unicode Locale Data Markup Language (LDML)
|
||||
* @since 16
|
||||
*/
|
||||
public DateTimeFormatterBuilder appendDayPeriodText(TextStyle style) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue