final class LocalizedDateFormatPatternHelper extends Object
SimpleDateFormat patterns.
NB Due to a dependence upon
DateFormatSymbols.getLocalPatternChars() any
DateFormat objects must also be initialised with
SimpleDateFormat.applyLocalizedPattern(String).
DateFormatSymbols,
DateFormat,
SimpleDateFormat| Constructor and Description |
|---|
LocalizedDateFormatPatternHelper(Locale datePatternLocale) |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
amPmPatternRegex() |
(package private) String |
dayPatternRegex() |
(package private) String |
excludeQuoted(String datePattern)
Strips out quoted sections from a date format pattern to leave us with only
characters meant to be interpreted by (or which are reserved by)
SimpleDateFormat. |
(package private) String |
hourPatternRegex() |
(package private) String |
minutePatternRegex() |
(package private) String |
monthPatternRegex() |
(package private) String |
weekPatternRegex() |
(package private) String |
yearPatternRegex() |
LocalizedDateFormatPatternHelper(Locale datePatternLocale)
final String minutePatternRegex()
final String hourPatternRegex()
final String amPmPatternRegex()
final String dayPatternRegex()
final String weekPatternRegex()
final String monthPatternRegex()
final String yearPatternRegex()
final String excludeQuoted(String datePattern)
SimpleDateFormat.datePattern - The full pattern specified by the appender config.SimpleDateFormat