Package org.apache.nifi.util.text
Class RegexDateTimeMatcher.Compiler
java.lang.Object
org.apache.nifi.util.text.RegexDateTimeMatcher.Compiler
- Enclosing class:
RegexDateTimeMatcher
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final RegexDateTimeMatcher.Compiler.LengthRangeprivate intprivate charprivate static final Stringprivate static final RegexDateTimeMatcher.Compiler.LengthRangeprivate static final Stringprivate static final RegexDateTimeMatcher.Compiler.LengthRangeprivate static final RegexDateTimeMatcher.Compiler.LengthRangeprivate static final Stringprivate booleanprivate static final Stringprivate static final RegexDateTimeMatcher.Compiler.LengthRangeprivate static final Stringprivate static final RegexDateTimeMatcher.Compiler.LengthRange -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidaddYear(int maxDigits) private voidappendChar(char c) private voidbeginPattern(char c) private intprivate voidprivate Stringprivate Stringprivate static Stringprivate static RegexDateTimeMatcher.Compiler.LengthRangelengthRange(String[] values) private static intprivate static int
-
Field Details
-
patterns
-
currentPattern
private char currentPattern -
charCount
private int charCount -
patternStarted
private boolean patternStarted -
AMPM_PATTERN
-
ERAS_PATTERN
-
MONTHS_PATTERN
-
LONG_WEEKDAY_PATTERN
-
SHORT_WEEKDAY_PATTERN
-
ZONE_NAME_PATTERN
-
AMPM_RANGE
-
ERAS_RANGE
-
MONTH_NAME_RANGE
-
LONG_WEEKDAY_RANGE
-
SHORT_WEEKDAY_RANGE
-
ZONE_NAME_RANGE
-
range
-
-
Constructor Details
-
Compiler
public Compiler()
-
-
Method Details
-
compile
-
lengthRange
-
minLength
-
maxLength
-
joinRegex
-
copyText
-
beginPattern
private void beginPattern(char c) -
appendChar
private void appendChar(char c) -
endPattern
private void endPattern() -
addEraDesignator
private void addEraDesignator() -
addYear
private void addYear(int maxDigits) -
addShortMonth
private void addShortMonth() -
addLongMonth
private void addLongMonth() -
addWeekInYear
private void addWeekInYear() -
addWeekInMonth
private void addWeekInMonth() -
addDayInYear
private void addDayInYear() -
addDayInMonth
private void addDayInMonth() -
addDayOfWeekInMonth
private void addDayOfWeekInMonth() -
addShortDayNameInWeek
private void addShortDayNameInWeek() -
addLongDayNameInWeek
private void addLongDayNameInWeek() -
addDayNumberInWeek
private void addDayNumberInWeek() -
addAmPmMarker
private void addAmPmMarker() -
addHourInDayBaseZero
private void addHourInDayBaseZero() -
addHourInDayBaseOne
private void addHourInDayBaseOne() -
add12HourBaseZero
private void add12HourBaseZero() -
add12HourBaseOne
private void add12HourBaseOne() -
addMinuteInHour
private void addMinuteInHour() -
addSecondInMinute
private void addSecondInMinute() -
addSubsecond
private void addSubsecond() -
addGeneralTimeZone
private void addGeneralTimeZone() -
getGMTOffsetTimeZone
-
getNamedTimeZone
-
addRFC822TimeZone
private void addRFC822TimeZone() -
addISO8601TimeZone
private void addISO8601TimeZone()
-