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 longFUTURE_TOLERANCEprotected java.util.TimeZonetz-
Fields inherited from class com.solab.iso8583.parse.FieldParseInfo
forceHexadecimalLength, forceStringDecoding, length, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDateTimeParseInfo(IsoType type, int length)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidadjustWithFutureTolerance(java.util.Calendar cal)protected IsoValue<java.util.Date>createValue(java.util.Calendar cal, boolean adjusting)static java.util.TimeZonegetDefaultTimeZone()java.util.TimeZonegetTimeZone()static voidsetDefaultTimeZone(java.util.TimeZone tz)voidsetTimeZone(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)
-
-