src/java.base/share/classes/java/text/spi/DateFormatSymbolsProvider.java
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 47216 71c04702a3d5
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
     1 /*
     1 /*
     2  * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    44      */
    44      */
    45     protected DateFormatSymbolsProvider() {
    45     protected DateFormatSymbolsProvider() {
    46     }
    46     }
    47 
    47 
    48     /**
    48     /**
    49      * Returns a new <code>DateFormatSymbols</code> instance for the
    49      * Returns a new {@code DateFormatSymbols} instance for the
    50      * specified locale.
    50      * specified locale.
    51      *
    51      *
    52      * @param locale the desired locale
    52      * @param locale the desired locale
    53      * @exception NullPointerException if <code>locale</code> is null
    53      * @throws    NullPointerException if {@code locale} is null
    54      * @exception IllegalArgumentException if <code>locale</code> isn't
    54      * @throws    IllegalArgumentException if {@code locale} isn't
    55      *     one of the locales returned from
    55      *     one of the locales returned from
    56      *     {@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
    56      *     {@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
    57      *     getAvailableLocales()}.
    57      *     getAvailableLocales()}.
    58      * @return a <code>DateFormatSymbols</code> instance.
    58      * @return a {@code DateFormatSymbols} instance.
    59      * @see java.text.DateFormatSymbols#getInstance(java.util.Locale)
    59      * @see java.text.DateFormatSymbols#getInstance(java.util.Locale)
    60      */
    60      */
    61     public abstract DateFormatSymbols getInstance(Locale locale);
    61     public abstract DateFormatSymbols getInstance(Locale locale);
    62 }
    62 }