jdk/src/share/classes/java/time/format/TextStyle.java
changeset 17474 8c100beabcc0
parent 16852 60207b2b4b42
child 24865 09b1d992ca72
equal deleted inserted replaced
17473:35cd9b3a98ff 17474:8c100beabcc0
    78  * as there is no difference in English. However, in other languages there is a difference
    78  * as there is no difference in English. However, in other languages there is a difference
    79  * in the word used when the text is used alone, as opposed to in a complete date.
    79  * in the word used when the text is used alone, as opposed to in a complete date.
    80  * For example, the word used for a month when used alone in a date picker is different
    80  * For example, the word used for a month when used alone in a date picker is different
    81  * to the word used for month in association with a day and year in a date.
    81  * to the word used for month in association with a day and year in a date.
    82  *
    82  *
    83  * <h3>Specification for implementors</h3>
    83  * @implSpec
    84  * This is immutable and thread-safe enum.
    84  * This is immutable and thread-safe enum.
    85  */
    85  */
    86 public enum TextStyle {
    86 public enum TextStyle {
    87     // ordered from large to small
    87     // ordered from large to small
    88     // ordered so that bit 0 of the ordinal indicates stand-alone.
    88     // ordered so that bit 0 of the ordinal indicates stand-alone.