public final class DateTimeOperations extends SimpleOperations
| Modifier and Type | Field and Description |
|---|---|
static Filter |
BOTH_DATE_TIME
Both must be DateTimes.
|
static Filter |
BOTH_ELAPSED
Both must be an ElapsedTime.
|
static Filter |
TOP_DATE_TIME
Top must be a DateTime.
|
static Filter |
TOP_ELAPSED
Top must be an ElapsedTime.
|
static Filter |
TOP_ELAPSED_DATE_TIME
Top must be an ElapsedTime over a DateTime.
|
static Filter |
TOP_FIELDS
Top must be DateTime fields.
|
static Filter |
TOP_LONG_DATE_TIME
Top must be an Integer over a DateTime.
|
| Constructor and Description |
|---|
DateTimeOperations() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Task task,
SimpleOperation.Reference reference)
Executes an operation code within the context of a task.
|
protected void |
setUp()
Sets up operations.
|
getParams, getRegistrations, getThisLogger, setUppublic static final Filter BOTH_ELAPSED
public static final Filter BOTH_DATE_TIME
public static final Filter TOP_DATE_TIME
public static final Filter TOP_ELAPSED
public static final Filter TOP_FIELDS
public static final Filter TOP_ELAPSED_DATE_TIME
public static final Filter TOP_LONG_DATE_TIME
public void execute(Task task, SimpleOperation.Reference reference) throws Task.ExecuteException, Stack.AccessException
Must be implemented by each module.
execute in class SimpleOperationstask - Task executing the program.reference - Reference to the operation.Task.ExecuteException - when appropriate.Stack.AccessException - When raised by the stack.protected void setUp()
throws Operation.OverloadException
setUp in class OperationsOperation.OverloadException - From Operation.register(java.util.Map<java.lang.String, org.rvpf.processor.engine.rpn.operation.Operation>).Copyright © 2003-2019 Serge Brisson. All Rights Reserved.