private static class FastDateParser.ISO8601TimeZoneStrategy extends FastDateParser.PatternStrategy
| 限定符和类型 | 字段和说明 |
|---|---|
private static FastDateParser.Strategy |
ISO_8601_1_STRATEGY |
private static FastDateParser.Strategy |
ISO_8601_2_STRATEGY |
private static FastDateParser.Strategy |
ISO_8601_3_STRATEGY |
| 构造器和说明 |
|---|
ISO8601TimeZoneStrategy(String pattern)
Construct a Strategy that parses a TimeZone
|
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) static FastDateParser.Strategy |
getStrategy(int tokenLen)
Factory method for ISO8601TimeZoneStrategies.
|
(专用程序包) void |
setCalendar(FastDateParser parser,
Calendar cal,
String value) |
createPattern, createPattern, isNumber, parseprivate 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(String pattern)
pattern - The Patternvoid setCalendar(FastDateParser parser, Calendar cal, String value)
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.Copyright © 2020. All rights reserved.