| Package | Description |
|---|---|
| com.vaadin.ui |
| Modifier and Type | Field and Description |
|---|---|
protected Calendar.TimeFormat |
Calendar.currentTimeFormat
Defines currently active format for time.
|
| Modifier and Type | Method and Description |
|---|---|
Calendar.TimeFormat |
Calendar.getTimeFormat()
Gets currently active time format.
|
static Calendar.TimeFormat |
Calendar.TimeFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Calendar.TimeFormat[] |
Calendar.TimeFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Calendar.setTimeFormat(Calendar.TimeFormat format)
Example:
setTimeFormat(TimeFormat.Format12H);
Set to null, if you want the format being defined by the locale. |
Copyright © 2023 Vaadin Ltd. All rights reserved.