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
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final RegexDateTimeMatcher.Compiler.LengthRange
private int
private char
private static final String
private static final RegexDateTimeMatcher.Compiler.LengthRange
private static final String
private static final RegexDateTimeMatcher.Compiler.LengthRange
private static final RegexDateTimeMatcher.Compiler.LengthRange
private static final String
private boolean
private static final String
private static final RegexDateTimeMatcher.Compiler.LengthRange
private static final String
private static final RegexDateTimeMatcher.Compiler.LengthRange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
addYear
(int maxDigits) private void
appendChar
(char c) private void
beginPattern
(char c) private int
private void
private String
private String
private static String
private static RegexDateTimeMatcher.Compiler.LengthRange
lengthRange
(String[] values) private static int
private 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() -
addMillisecond
private void addMillisecond() -
addGeneralTimeZone
private void addGeneralTimeZone() -
getGMTOffsetTimeZone
-
getNamedTimeZone
-
addRFC822TimeZone
private void addRFC822TimeZone() -
addISO8601TimeZone
private void addISO8601TimeZone()
-