public class PreciseCalendarParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
vidx |
Modifier and Type | Method and Description |
---|---|
void |
parse() |
static BigDateTimeValueType |
parse(java.lang.String format,
java.lang.String value) |
protected java.math.BigInteger |
parseBigInteger(int minDigits,
int maxDigits)
Parses the digits from vidx into a
BigInteger . |
protected void |
parseFractionSeconds() |
protected int |
parseInt(int minDigits,
int maxDigits) |
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) |
protected void |
skipDigits()
Skips the extra digits.
|
public static BigDateTimeValueType parse(java.lang.String format, java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected void parseFractionSeconds()
protected void setTimeZone(java.util.TimeZone tz)
protected void setSeconds(int i)
protected void setMinutes(int i)
protected void setHours(int i)
protected void setDay(int i)
protected void setMonth(int i)
protected void setYear(int i)
public void parse() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected final void skipDigits()
protected final int parseInt(int minDigits, int maxDigits) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected final java.math.BigInteger parseBigInteger(int minDigits, int maxDigits) throws java.lang.IllegalArgumentException
BigInteger
.
Number of digits can be obtained by comparing the difference of
vidx
.java.lang.IllegalArgumentException
MSV