Package com.nt.udc.io
Class COSARExprStr2Time
java.lang.Object
com.nt.udc.io.COSARExpr
com.nt.udc.io.COSARExprStr2Time
This class represents the operation used to convert a string
into a time, according to a format.
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
- y year
- M month
- d day
- h hour
- m minute
- s second
Characters may be prevented from being interpreted as control characters by enclosing them in single quotes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected COSARExpr
protected COSARExpr
These members represent the operands.protected COSARAttrLong
Fields inherited from class com.nt.udc.io.COSARExpr
m_bIsConstant
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.nt.udc.io.COSARExpr
isConstant
-
Field Details
-
m_value
-
m_time
These members represent the operands. -
m_format
-
-
Constructor Details
-
COSARExprStr2Time
- Throws:
Exception
-
-
Method Details
-
eval
Description copied from class:COSARExpr
This function is used to evaluate the expression. A symbol table is passed to help in retrieving the value of referenced symbols. The HashMap should contain values stored as COSARAttr objects, keyed by their associated symbol's name. -
toString
-