private static class FastDateParser.ISO8601TimeZoneStrategy extends FastDateParser.PatternStrategy
Modifier and Type | Field and Description |
---|---|
private static FastDateParser.Strategy |
ISO_8601_1_STRATEGY |
private static FastDateParser.Strategy |
ISO_8601_2_STRATEGY |
private static FastDateParser.Strategy |
ISO_8601_3_STRATEGY |
Constructor and Description |
---|
ISO8601TimeZoneStrategy(java.lang.String pattern)
Construct a Strategy that parses a TimeZone
|
Modifier and Type | Method and Description |
---|---|
(package private) static FastDateParser.Strategy |
getStrategy(int tokenLen)
Factory method for ISO8601TimeZoneStrategies.
|
(package private) void |
setCalendar(FastDateParser parser,
java.util.Calendar cal,
java.lang.String value) |
createPattern, createPattern, isNumber, parse
private static final FastDateParser.Strategy ISO_8601_1_STRATEGY
private static final FastDateParser.Strategy ISO_8601_2_STRATEGY
private static final FastDateParser.Strategy ISO_8601_3_STRATEGY
ISO8601TimeZoneStrategy(java.lang.String pattern)
pattern
- The Patternvoid setCalendar(FastDateParser parser, java.util.Calendar cal, java.lang.String value)
setCalendar
in class FastDateParser.PatternStrategy
static FastDateParser.Strategy getStrategy(int tokenLen)
tokenLen
- a token indicating the length of the TimeZone String to be formatted.tokenLen
. If no such
strategy exists, an IllegalArgumentException will be thrown.