mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -415,6 +415,9 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
|||
* @implSpec This method returns 13 elements since
|
||||
* {@link java.util.Calendar#UNDECIMBER Calendar.UNDECIMBER} is supported.
|
||||
* @return the month strings.
|
||||
*
|
||||
* @spec https://www.unicode.org/reports/tr35
|
||||
* Unicode Locale Data Markup Language (LDML)
|
||||
*/
|
||||
public String[] getMonths() {
|
||||
return Arrays.copyOf(months, months.length);
|
||||
|
@ -453,6 +456,9 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
|||
* @implSpec This method returns 13 elements since
|
||||
* {@link java.util.Calendar#UNDECIMBER Calendar.UNDECIMBER} is supported.
|
||||
* @return the short month strings.
|
||||
*
|
||||
* @spec https://www.unicode.org/reports/tr35
|
||||
* Unicode Locale Data Markup Language (LDML)
|
||||
*/
|
||||
public String[] getShortMonths() {
|
||||
return Arrays.copyOf(shortMonths, shortMonths.length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue