Package org.vaadin.miki.shared.dates
Class DatePatterns
java.lang.Object
org.vaadin.miki.shared.dates.DatePatterns
Container class with some common
DatePatterns.- Since:
- 2020-04-24
- Author:
- miki
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DatePatternUses day, month and short year with century boundary year 40 (years less than 40 are from 21st century), separated by..static final DatePatternUses day, four digit year and month name (obtained from locale).static final DatePatternUses zero-prefixed day and month, optionally full year, separated by..static final DatePatternUses zero-prefixed day and month, full year, separated by..static final DatePatternUses zero-prefixed day and month with short year (century boundary year 40, years less than 40 in 21st century), and no separator.static final DatePatternUses month, day and full year, separated by/.static final DatePatternDefault pattern.static final DatePatternUses full year, zero-prefixed month and day, and no separator. -
Method Summary
-
Field Details
-
YYYY_MM_DD
Default pattern. Uses full year, zero-prefixed month and day, separated by-. -
DD_MM_YYYY_DOTTED
Uses zero-prefixed day and month, full year, separated by.. -
DD_MM_YY_OR_YYYY_DOTTED
Uses zero-prefixed day and month, optionally full year, separated by.. For short years the century boundary year is 40 (years less than 40 are from 21st century). -
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.. -
M_D_YYYY_SLASH
Uses month, day and full year, separated by/. -
YYYYMMDD
Uses full year, zero-prefixed month and day, and no separator. -
DDMMYY
Uses zero-prefixed day and month with short year (century boundary year 40, years less than 40 in 21st century), and no separator. -
D_MMMM_YYYY
Uses day, four digit year and month name (obtained from locale).
-