public static class RegexDateTimeMatcher.Compiler extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
RegexDateTimeMatcher.Compiler.LengthRange |
Modifier and Type | Field and Description |
---|---|
private static String |
AMPM_PATTERN |
private static RegexDateTimeMatcher.Compiler.LengthRange |
AMPM_RANGE |
private int |
charCount |
private char |
currentPattern |
private static String |
ERAS_PATTERN |
private static RegexDateTimeMatcher.Compiler.LengthRange |
ERAS_RANGE |
private static String |
LONG_WEEKDAY_PATTERN |
private static RegexDateTimeMatcher.Compiler.LengthRange |
LONG_WEEKDAY_RANGE |
private static RegexDateTimeMatcher.Compiler.LengthRange |
MONTH_NAME_RANGE |
private static String |
MONTHS_PATTERN |
private List<String> |
patterns |
private boolean |
patternStarted |
private RegexDateTimeMatcher.Compiler.LengthRange |
range |
private static String |
SHORT_WEEKDAY_PATTERN |
private static RegexDateTimeMatcher.Compiler.LengthRange |
SHORT_WEEKDAY_RANGE |
private static String |
ZONE_NAME_PATTERN |
private static RegexDateTimeMatcher.Compiler.LengthRange |
ZONE_NAME_RANGE |
Constructor and Description |
---|
Compiler() |
Modifier and Type | Method and Description |
---|---|
private void |
add12HourBaseOne() |
private void |
add12HourBaseZero() |
private void |
addAmPmMarker() |
private void |
addDayInMonth() |
private void |
addDayInYear() |
private void |
addDayNumberInWeek() |
private void |
addDayOfWeekInMonth() |
private void |
addEraDesignator() |
private void |
addGeneralTimeZone() |
private void |
addHourInDayBaseOne() |
private void |
addHourInDayBaseZero() |
private void |
addISO8601TimeZone() |
private void |
addLongDayNameInWeek() |
private void |
addLongMonth() |
private void |
addMillisecond() |
private void |
addMinuteInHour() |
private void |
addRFC822TimeZone() |
private void |
addSecondInMinute() |
private void |
addShortDayNameInWeek() |
private void |
addShortMonth() |
private void |
addWeekInMonth() |
private void |
addWeekInYear() |
private void |
addYear(int maxDigits) |
private void |
appendChar(char c) |
private void |
beginPattern(char c) |
RegexDateTimeMatcher |
compile(String format) |
private int |
copyText(String formatString,
int startChar) |
private void |
endPattern() |
private String |
getGMTOffsetTimeZone() |
private String |
getNamedTimeZone() |
private static String |
joinRegex(String[] values) |
private static RegexDateTimeMatcher.Compiler.LengthRange |
lengthRange(String[] values) |
private static int |
maxLength(String[] values) |
private static int |
minLength(String[] values) |
private char currentPattern
private int charCount
private boolean patternStarted
private static final String AMPM_PATTERN
private static final String ERAS_PATTERN
private static final String MONTHS_PATTERN
private static final String LONG_WEEKDAY_PATTERN
private static final String SHORT_WEEKDAY_PATTERN
private static final String ZONE_NAME_PATTERN
private static final RegexDateTimeMatcher.Compiler.LengthRange AMPM_RANGE
private static final RegexDateTimeMatcher.Compiler.LengthRange ERAS_RANGE
private static final RegexDateTimeMatcher.Compiler.LengthRange MONTH_NAME_RANGE
private static final RegexDateTimeMatcher.Compiler.LengthRange LONG_WEEKDAY_RANGE
private static final RegexDateTimeMatcher.Compiler.LengthRange SHORT_WEEKDAY_RANGE
private static final RegexDateTimeMatcher.Compiler.LengthRange ZONE_NAME_RANGE
private RegexDateTimeMatcher.Compiler.LengthRange range
public RegexDateTimeMatcher compile(String format)
private static RegexDateTimeMatcher.Compiler.LengthRange lengthRange(String[] values)
private static int minLength(String[] values)
private static int maxLength(String[] values)
private int copyText(String formatString, int startChar)
private void beginPattern(char c)
private void appendChar(char c)
private void endPattern()
private void addEraDesignator()
private void addYear(int maxDigits)
private void addShortMonth()
private void addLongMonth()
private void addWeekInYear()
private void addWeekInMonth()
private void addDayInYear()
private void addDayInMonth()
private void addDayOfWeekInMonth()
private void addShortDayNameInWeek()
private void addLongDayNameInWeek()
private void addDayNumberInWeek()
private void addAmPmMarker()
private void addHourInDayBaseZero()
private void addHourInDayBaseOne()
private void add12HourBaseZero()
private void add12HourBaseOne()
private void addMinuteInHour()
private void addSecondInMinute()
private void addMillisecond()
private void addGeneralTimeZone()
private String getGMTOffsetTimeZone()
private String getNamedTimeZone()
private void addRFC822TimeZone()
private void addISO8601TimeZone()
Copyright © 2020 Apache NiFi Project. All rights reserved.