Package com.solab.iso8583.parse
Class DateTimeParseInfo
- java.lang.Object
-
- com.solab.iso8583.parse.FieldParseInfo
-
- com.solab.iso8583.parse.DateTimeParseInfo
-
- Direct Known Subclasses:
Date10ParseInfo
,Date12ParseInfo
,Date14ParseInfo
,Date4ParseInfo
,Date6ParseInfo
,DateExpParseInfo
,TimeParseInfo
public abstract class DateTimeParseInfo extends FieldParseInfo
Abstract class for date/time parsers.
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
FUTURE_TOLERANCE
protected java.util.TimeZone
tz
-
Fields inherited from class com.solab.iso8583.parse.FieldParseInfo
forceHexadecimalLength, forceStringDecoding, length, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DateTimeParseInfo(IsoType type, int length)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
adjustWithFutureTolerance(java.util.Calendar cal)
protected IsoValue<java.util.Date>
createValue(java.util.Calendar cal, boolean adjusting)
static java.util.TimeZone
getDefaultTimeZone()
java.util.TimeZone
getTimeZone()
static void
setDefaultTimeZone(java.util.TimeZone tz)
void
setTimeZone(java.util.TimeZone value)
-
Methods inherited from class com.solab.iso8583.parse.FieldParseInfo
decodeLength, getCharacterEncoding, getDecoder, getInstance, getLength, getType, parse, parseBinary, setCharacterEncoding, setDecoder, setForceHexadecimalLength, setForceStringDecoding
-
-
-
-
Constructor Detail
-
DateTimeParseInfo
protected DateTimeParseInfo(IsoType type, int length)
-
-
Method Detail
-
setDefaultTimeZone
public static void setDefaultTimeZone(java.util.TimeZone tz)
-
getDefaultTimeZone
public static java.util.TimeZone getDefaultTimeZone()
-
setTimeZone
public void setTimeZone(java.util.TimeZone value)
-
getTimeZone
public java.util.TimeZone getTimeZone()
-
adjustWithFutureTolerance
public static void adjustWithFutureTolerance(java.util.Calendar cal)
-
createValue
protected IsoValue<java.util.Date> createValue(java.util.Calendar cal, boolean adjusting)
-
-