public final class DatePatterns extends Object
DatePatterns.| Modifier and Type | Field and Description |
|---|---|
static DatePattern |
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 |
D_MMMM_YYYY
Uses day, four digit year and month name (obtained from locale).
|
static DatePattern |
DD_MM_YY_OR_YYYY_DOTTED
Uses zero-prefixed day and month, optionally full year, separated by
.. |
static DatePattern |
DD_MM_YYYY_DOTTED
Uses zero-prefixed day and month, full year, separated by
.. |
static DatePattern |
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 |
M_D_YYYY_SLASH
Uses month, day and full year, separated by
/. |
static DatePattern |
YYYY_MM_DD
Default pattern.
|
static DatePattern |
YYYYMMDD
Uses full year, zero-prefixed month and day, and no separator.
|
public static final DatePattern YYYY_MM_DD
-.public static final DatePattern DD_MM_YYYY_DOTTED
..public static final DatePattern DD_MM_YY_OR_YYYY_DOTTED
..
For short years the century boundary year is 40 (years less than 40 are from 21st century).public static final DatePattern D_M_YY_DOTTED
..public static final DatePattern M_D_YYYY_SLASH
/.public static final DatePattern YYYYMMDD
public static final DatePattern DDMMYY
public static final DatePattern D_MMMM_YYYY
Copyright © 2024 Miki. All rights reserved.