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 String
private String
private String
private String
(package private) String
private String
number
(int occurrences) private String
symbolArrayToRegex
(String[] symbolArray) (package private) String
toRegex
(CharSequenceState css)
-
Field Details
-
symbols
DateFormatSymbols symbols
-
-
Constructor Details
-
CharSequenceToRegexMapper
CharSequenceToRegexMapper()
-
-
Method Details
-
toRegex
-
number
-
getRegexForAmPms
-
getRegexForLongDaysOfTheWeek
-
getRegexForShortDaysOfTheWeek
-
getRegexForLongMonths
-
getRegexForShortMonths
String getRegexForShortMonths() -
symbolArrayToRegex
-
findMinMaxLengthsInSymbols
-