Package ch.qos.logback.core.util
Class CharSequenceToRegexMapper
java.lang.Object
ch.qos.logback.core.util.CharSequenceToRegexMapper
This class supports mapping character sequences to
regular expressions as appropriate for SimpleDateFormatter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int[]findMinMaxLengthsInSymbols(String[] symbols) private Stringprivate Stringprivate Stringprivate String(package private) Stringprivate Stringnumber(int occurrences) private StringsymbolArrayToRegex(String[] symbolArray) (package private) StringtoRegex(CharSequenceState css)
-
Field Details
-
symbols
DateFormatSymbols symbols
-
-
Constructor Details
-
CharSequenceToRegexMapper
CharSequenceToRegexMapper()
-
-
Method Details
-
toRegex
-
number
-
getRegexForAmPms
-
getRegexForLongDaysOfTheWeek
-
getRegexForShortDaysOfTheWeek
-
getRegexForLongMonths
-
getRegexForShortMonths
String getRegexForShortMonths() -
symbolArrayToRegex
-
findMinMaxLengthsInSymbols
-