public abstract class BaseDateValue extends BaseValue
Value.Type| Constructor and Description |
|---|
BaseDateValue(Date val,
DateFormat fmt) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get() |
BigDecimal |
getAsBigDecimal() |
boolean |
getAsBoolean() |
Date |
getAsDateTime(EvalContext ctx) |
Double |
getAsDouble() |
Integer |
getAsLongInt() |
String |
getAsString() |
protected DateFormat |
getFormat() |
protected Double |
getNumber() |
isNull, roundToLongInt, toStringpublic BaseDateValue(Date val, DateFormat fmt)
public Object get()
protected DateFormat getFormat()
protected Double getNumber()
public boolean getAsBoolean()
getAsBoolean in interface ValuegetAsBoolean in class BaseValuepublic String getAsString()
getAsString in interface ValuegetAsString in class BaseValuepublic Date getAsDateTime(EvalContext ctx)
getAsDateTime in interface ValuegetAsDateTime in class BaseValuepublic Integer getAsLongInt()
getAsLongInt in interface ValuegetAsLongInt in class BaseValuepublic Double getAsDouble()
getAsDouble in interface ValuegetAsDouble in class BaseValuepublic BigDecimal getAsBigDecimal()
getAsBigDecimal in interface ValuegetAsBigDecimal in class BaseValueCopyright © 2005–2019. All rights reserved.