private static class FastDateParser.CopyQuotedStrategy extends FastDateParser.Strategy
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
formatField |
| 构造器和说明 |
|---|
CopyQuotedStrategy(String formatField)
Construct a Strategy that ensures the formatField has literal text
|
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) boolean |
isNumber()
Is this field a number?
|
(专用程序包) boolean |
parse(FastDateParser parser,
Calendar calendar,
String source,
ParsePosition pos,
int maxWidth) |
private final String formatField
CopyQuotedStrategy(String formatField)
formatField - The literal text to matchboolean isNumber()
isNumber 在类中 FastDateParser.Strategyboolean parse(FastDateParser parser, Calendar calendar, String source, ParsePosition pos, int maxWidth)
parse 在类中 FastDateParser.StrategyCopyright © 2020. All rights reserved.