public class PreciseCalendarParser extends AbstractCalendarParser
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
day |
private java.lang.Integer |
hour |
private java.lang.Integer |
minute |
private java.lang.Integer |
month |
private java.math.BigDecimal |
second |
private java.util.TimeZone |
timeZone |
private java.math.BigInteger |
year |
vidx
Modifier | Constructor and Description |
---|---|
private |
PreciseCalendarParser(java.lang.String format,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
private BigDateTimeValueType |
createCalendar() |
static BigDateTimeValueType |
parse(java.lang.String format,
java.lang.String value) |
protected void |
parseFractionSeconds() |
protected void |
setDay(int i) |
protected void |
setHours(int i) |
protected void |
setMinutes(int i) |
protected void |
setMonth(int i) |
protected void |
setSeconds(int i) |
protected void |
setTimeZone(java.util.TimeZone tz) |
protected void |
setYear(int i) |
parse, parseBigInteger, parseInt, skipDigits
private java.math.BigInteger year
private java.lang.Integer month
private java.lang.Integer day
private java.lang.Integer hour
private java.lang.Integer minute
private java.math.BigDecimal second
private java.util.TimeZone timeZone
private PreciseCalendarParser(java.lang.String format, java.lang.String value)
public static BigDateTimeValueType parse(java.lang.String format, java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
private BigDateTimeValueType createCalendar()
protected void parseFractionSeconds()
parseFractionSeconds
in class AbstractCalendarParser
protected void setTimeZone(java.util.TimeZone tz)
setTimeZone
in class AbstractCalendarParser
protected void setSeconds(int i)
setSeconds
in class AbstractCalendarParser
protected void setMinutes(int i)
setMinutes
in class AbstractCalendarParser
protected void setHours(int i)
setHours
in class AbstractCalendarParser
protected void setDay(int i)
setDay
in class AbstractCalendarParser
protected void setMonth(int i)
setMonth
in class AbstractCalendarParser
protected void setYear(int i)
setYear
in class AbstractCalendarParser