java.lang.Object
jakarta.mail.internet.MailDateFormat.AbstractDateParser
jakarta.mail.internet.MailDateFormat.Rfc2822StrictParser
- Direct Known Subclasses:
MailDateFormat.Rfc2822LenientParser
- Enclosing class:
- MailDateFormat
-
Field Summary
Fields inherited from class jakarta.mail.internet.MailDateFormat.AbstractDateParser
INVALID_CHAR, MAX_YEAR_DIGITS, pos, text
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
(package private) int
parseDay()
(package private) void
(package private) void
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) Date
tryParse()
Methods inherited from class jakarta.mail.internet.MailDateFormat.AbstractDateParser
getAsciiDigit, getChar, isValidZoneOffset, parse, parseAsciiDigits, parseAsciiDigits, parseAsciiDigits, parseChar, parseDayName, parseFoldingWhiteSpace, parseMonthName, parseZoneOffset, peekAsciiDigit, peekChar, peekFoldingWhiteSpace, skipAlternative, skipAlternativePair, skipAlternativeTriple, skipChar, skipFoldingWhiteSpace, skipNewline, skipPair, skipWhiteSpace
-
Constructor Details
-
Rfc2822StrictParser
Rfc2822StrictParser(String text, ParsePosition pos)
-
-
Method Details
-
tryParse
- Specified by:
tryParse
in classMailDateFormat.AbstractDateParser
- Throws:
ParseException
-
parseOptionalBegin
- Returns:
- the java.util.Calendar constant for the parsed day name, or UNKNOWN_DAY_NAME iff the begin is missing
- Throws:
ParseException
-
parseDay
- Throws:
ParseException
-
parseMonth
- Returns:
- the java.util.Calendar constant for the parsed month name
- Throws:
ParseException
-
parseFwsInMonth
- Throws:
ParseException
-
isMonthNameCaseSensitive
boolean isMonthNameCaseSensitive() -
parseYear
- Throws:
ParseException
-
parseHour
- Throws:
ParseException
-
parseMinute
- Throws:
ParseException
-
parseSecond
- Throws:
ParseException
-
parseFwsBetweenTimeOfDayAndZone
- Throws:
ParseException
-
parseZone
- Throws:
ParseException
-