Package net.time4j.engine
Interface DisplayStyle
- All Known Implementing Classes:
DisplayMode
Deprecated.
Describes a generic format style.
Users have usually no need to apply directly this low-level-interface
but should work with the enum net.time4j.format.DisplayMode.
- Since:
- 3.10/4.7
- Author:
- Meno Hochschild
-
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Determines the appropriateDateFormat-constant.default FormatStyleDeprecated.Determines the appropriateFormatStyle-constant.
-
Method Details
-
getStyleValue
int getStyleValue()Deprecated.Determines the appropriate
DateFormat-constant.- Returns:
- int
- Since:
- 3.10/4.7
- See Also:
DateFormat.FULL,DateFormat.LONG,DateFormat.MEDIUM,DateFormat.SHORT
-
toThreeten
Deprecated.Determines the appropriate
FormatStyle-constant.- Returns:
- FormatStyle
- Since:
- 5.8
-
java.time.format.FormatStyleinstead