| Package | Description |
|---|---|
| org.vaadin.miki.markers | |
| org.vaadin.miki.shared.dates | |
| org.vaadin.miki.superfields.dates |
| Modifier and Type | Method and Description |
|---|---|
DatePattern |
HasDatePattern.getDatePattern()
Returns current date pattern.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HasDatePattern.setDatePattern(DatePattern pattern)
Sets new date pattern to use when displaying and parsing dates.
|
default SELF |
WithDatePatternMixin.withDatePattern(DatePattern pattern)
Chains
HasDatePattern.setDatePattern(DatePattern) and returns itself. |
| Modifier and Type | Field and Description |
|---|---|
static DatePattern |
DatePatterns.D_M_YY_DOTTED
Uses day, month and short year with century boundary year 40 (years less than 40 are from 21st century), separated by
.. |
static DatePattern |
DatePatterns.D_MMMM_YYYY
Uses day, four digit year and month name (obtained from locale).
|
static DatePattern |
DatePatterns.DD_MM_YY_OR_YYYY_DOTTED
Uses zero-prefixed day and month, optionally full year, separated by
.. |
static DatePattern |
DatePatterns.DD_MM_YYYY_DOTTED
Uses zero-prefixed day and month, full year, separated by
.. |
static DatePattern |
DatePatterns.DDMMYY
Uses zero-prefixed day and month with short year (century boundary year 40, years less than 40 in 21st century), and no separator.
|
static DatePattern |
DatePatterns.M_D_YYYY_SLASH
Uses month, day and full year, separated by
/. |
static DatePattern |
DatePatterns.YYYY_MM_DD
Default pattern.
|
static DatePattern |
DatePatterns.YYYYMMDD
Uses full year, zero-prefixed month and day, and no separator.
|
| Modifier and Type | Method and Description |
|---|---|
DatePattern |
DatePattern.withBaseCentury(int baseCentury)
Chains
setBaseCentury(int) and returns itself. |
DatePattern |
DatePattern.withCenturyBoundaryYear(int centuryBoundaryYear)
Chains
setCenturyBoundaryYear(int) and returns itself. |
DatePattern |
DatePattern.withDisplayOrder(DatePattern.Order displayOrder)
Chains
setDisplayOrder(Order) and returns itself. |
DatePattern |
DatePattern.withMonthDisplayMode(DatePattern.MonthDisplayMode monthDisplayMode)
Chains
setMonthDisplayMode(MonthDisplayMode) and returns itself. |
DatePattern |
DatePattern.withoutSeparator()
Identical to
withSeparator(DatePattern.NO_SEPARATOR. |
DatePattern |
DatePattern.withPreviousCenturyBelowBoundary(boolean belowBoundaryIsPreviousCentury)
Chains
setPreviousCenturyBelowBoundary(boolean) and returns itself. |
DatePattern |
DatePattern.withSeparator(char separator)
Chains
setSeparator(char) and returns itself. |
DatePattern |
DatePattern.withShortYear(boolean shortYear)
Chains
setShortYear(boolean) and returns itself. |
DatePattern |
DatePattern.withShortYearAlwaysAccepted(boolean shortYearAlwaysAccepted)
Chains
setShortYearAlwaysAccepted(boolean) and returns itself. |
DatePattern |
DatePattern.withZeroPrefixedDay(boolean zeroPrefixedDay)
Chains
setZeroPrefixedDay(boolean) and returns itself. |
| Modifier and Type | Method and Description |
|---|---|
DatePattern |
SuperDateTimePicker.getDatePattern() |
DatePattern |
SuperDatePicker.getDatePattern() |
| Modifier and Type | Method and Description |
|---|---|
void |
SuperDateTimePicker.setDatePattern(DatePattern pattern) |
void |
SuperDatePicker.setDatePattern(DatePattern datePattern) |
Copyright © 2023 Miki. All rights reserved.