public class LocalDateType extends IntegerType
MagicMatcher.MutableOffset
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<SimpleDateFormat> |
dateFormat |
endianConverter
Constructor and Description |
---|
LocalDateType(EndianType endianType) |
Modifier and Type | Method and Description |
---|---|
protected void |
assisgnTimeZone(SimpleDateFormat format) |
protected Date |
dateFromExtractedValue(long val) |
void |
renderValue(StringBuilder sb,
Object extractedValue,
MagicFormatter formatter)
Returns the string version of the extracted value.
|
compare, getBytesPerType, maskValue
decodeValueString, getStartingBytes
convertTestString, extractValueFromBytes, isMatch
protected final ThreadLocal<SimpleDateFormat> dateFormat
public LocalDateType(EndianType endianType)
public void renderValue(StringBuilder sb, Object extractedValue, MagicFormatter formatter)
MagicMatcher
renderValue
in interface MagicMatcher
renderValue
in class NumberType
protected Date dateFromExtractedValue(long val)
protected void assisgnTimeZone(SimpleDateFormat format)
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.