public class DataTimePatternMatch extends Object
DateTimePattern
. This class holds the pattern used for parsing (getPattern()
) and the parsed value (getValue()
).Constructor and Description |
---|
DataTimePatternMatch(DateTimePattern pattern,
TemporalAccessor value) |
Modifier and Type | Method and Description |
---|---|
FieldType |
getFieldType()
Returns
FieldType . |
DateTimePattern |
getPattern()
The pattern used for parsing.
|
TemporalAccessor |
getTemporalAccessor()
Deprecated.
use
getValue() instead. |
TemporalAccessor |
getValue()
The parsed value.
|
String |
toString() |
public DataTimePatternMatch(DateTimePattern pattern, TemporalAccessor value)
public DateTimePattern getPattern()
public TemporalAccessor getValue()
public FieldType getFieldType()
FieldType
.@Deprecated public TemporalAccessor getTemporalAccessor()
getValue()
instead.