public class COSARExprStr2Time extends COSARExpr
The format is defined according to java documentation for SimpleDateFormatter. See http://java.sun.com/products/jdk/1.2/docs/api/index.html
Here are some examples of control characters
Characters may be prevented from being interpreted as control characters by enclosing them in single quotes.
| Modifier and Type | Field and Description |
|---|---|
protected COSARExpr |
m_format |
protected COSARExpr |
m_time
These members represent the operands.
|
protected COSARAttrLong |
m_value |
m_bIsConstant| Constructor and Description |
|---|
COSARExprStr2Time(COSARExpr op1,
COSARExpr op2) |
| Modifier and Type | Method and Description |
|---|---|
COSARAttr |
eval(java.util.HashMap symbols)
This function is used to evaluate the expression.
|
java.lang.String |
toString() |
isConstantprotected COSARAttrLong m_value
protected COSARExpr m_time
protected COSARExpr m_format
public COSARAttr eval(java.util.HashMap symbols) throws java.lang.Exception
COSARExprpublic java.lang.String toString()
toString in class java.lang.Object