Class CharSequenceToRegexMapper

java.lang.Object
ch.qos.logback.core.util.CharSequenceToRegexMapper

class CharSequenceToRegexMapper extends Object
This class supports mapping character sequences to regular expressions as appropriate for SimpleDateFormatter.
  • Field Details

  • Constructor Details

    • CharSequenceToRegexMapper

      CharSequenceToRegexMapper()
  • Method Details

    • toRegex

      String toRegex(CharSequenceState css)
    • number

      private String number(int occurrences)
    • getRegexForAmPms

      private String getRegexForAmPms()
    • getRegexForLongDaysOfTheWeek

      private String getRegexForLongDaysOfTheWeek()
    • getRegexForShortDaysOfTheWeek

      private String getRegexForShortDaysOfTheWeek()
    • getRegexForLongMonths

      private String getRegexForLongMonths()
    • getRegexForShortMonths

      String getRegexForShortMonths()
    • symbolArrayToRegex

      private String symbolArrayToRegex(String[] symbolArray)
    • findMinMaxLengthsInSymbols

      static int[] findMinMaxLengthsInSymbols(String[] symbols)