public interface LocalizedPatternSupport
Marker interface which indicates support for general localized format patterns compatible with the CLDR-specification.
ChronoMerger.getFormatPattern(FormatStyle, Locale)| Modifier and Type | Method and Description |
|---|---|
default String |
getFormatPattern(DisplayStyle style,
Locale locale)
Deprecated.
|
default String |
getFormatPattern(FormatStyle style,
Locale locale)
Defines a CLDR-compatible localized format pattern suitable for printing.
|
default boolean |
useDynamicFormatPattern()
Determines if any created format pattern uses the state of this instance.
|
@Deprecated default String getFormatPattern(DisplayStyle style, Locale locale)
getFormatPattern(FormatStyle, Locale)Defines a CLDR-compatible localized format pattern suitable for printing.
The default implementation delegates to the underlying chronology.
style - format stylelocale - language and country settingdefault String getFormatPattern(FormatStyle style, Locale locale)
Defines a CLDR-compatible localized format pattern suitable for printing.
The default implementation delegates to the underlying chronology.
style - format stylelocale - language and country settingdefault boolean useDynamicFormatPattern()
Determines if any created format pattern uses the state of this instance.
The default implementation returns false.
true if the method getFormatPattern uses the state of this instance else falsegetFormatPattern(FormatStyle, Locale)Copyright © 2014–2021. All rights reserved.