TimeFormatStyle
public enum TimeFormatStyle extends Enum
The format in which the time should be displayed.
Summary
Enum Values |
|
|---|---|
DEFAULT |
|
LOWER_CASE |
|
UPPER_CASE |
Public methods |
|
|---|---|
final @NonNull EnumEntries<@NonNull TimeFormatStyle> |
The format in which the time should be displayed. |
final @NonNull TimeFormatStyle |
Returns the enum constant of this type with the specified name. |
final @NonNull TimeFormatStyle[] |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Enum Values
LOWER_CASE
TimeFormatStyle TimeFormatStyle.LOWER_CASE
UPPER_CASE
TimeFormatStyle TimeFormatStyle.UPPER_CASE
Public methods
getEntries
public final @NonNull EnumEntries<@NonNull TimeFormatStyle> getEntries()
The format in which the time should be displayed.
valueOf
public final @NonNull TimeFormatStyle valueOf(@NonNull String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
| Throws | |
|---|---|
kotlin.IllegalArgumentException |
if this enum type has no constant with the specified name |