public static interface DatePicker.DateOrder
DatePicker components.
For example, the date can be displayed in the format of year-month-day, or month-day-year.
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
DAY |
Indicates that only the day is displayed.
|
static int |
DM |
Indicates that the date is displayed in the day-month format.
|
static int |
DMY |
Indicates that the date is displayed in the day-month-year format.
|
static int |
MD |
Indicates that the date is displayed in the month-day format.
|
static int |
MDY |
Indicates that the date is displayed in the month-day-year format.
|
static int |
MONTH |
Indicates that only the month is displayed.
|
static int |
MY |
Indicates that the date is displayed in the month-year format.
|
static int |
YDM |
Indicates that the date is displayed in the year-day-month format.
|
static int |
YEAR |
Indicates that only the year is displayed.
|
static int |
YM |
Indicates that the date is displayed in the year-month format.
|
static int |
YMD |
Indicates that the date is displayed in the year-month-day format.
|
static final int DAY
static final int DM
static final int DMY
static final int MD
static final int MDY
static final int MONTH
static final int MY
static final int YDM
static final int YEAR
static final int YM
static final int YMD