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, skipDigitsprivate 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.IllegalArgumentExceptionprivate BigDateTimeValueType createCalendar()
protected void parseFractionSeconds()
parseFractionSeconds in class AbstractCalendarParserprotected void setTimeZone(java.util.TimeZone tz)
setTimeZone in class AbstractCalendarParserprotected void setSeconds(int i)
setSeconds in class AbstractCalendarParserprotected void setMinutes(int i)
setMinutes in class AbstractCalendarParserprotected void setHours(int i)
setHours in class AbstractCalendarParserprotected void setDay(int i)
setDay in class AbstractCalendarParserprotected void setMonth(int i)
setMonth in class AbstractCalendarParserprotected void setYear(int i)
setYear in class AbstractCalendarParser