public class CurrentTime extends AbstractTime implements Increasing, EndpointConstraining
AbstractValue base
class. Does not need any registereed additional Parameters.PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
static String |
DEFNAME
The name of this global (time).
|
ISO, ISOSTANDARD, UTCKEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
CurrentTime(Map<String,String> prop)
Constructs a new global representing time.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getAscendTime(Number until)
Returns the remaining time in ms.
|
Date |
getTime()
Returns the time as a date object.
|
Number |
getValue()
Returns the time as an Long object.
|
boolean |
isCompleted(Appointable.Constraint lim,
TargetDefinition dummy)
Returns true, if the observing program on the target is finished.
|
getFormatted, rescanned, setValueget, setcreateParameter, delivers, exit, getFormatted, getName, getPreserveFile, getString, getString, init, overrideDefaultName, register, setName, toStringclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiesinitreloadpublic static final String DEFNAME
public Number getValue()
public Date getTime()
public Long getAscendTime(Number until)
getAscendTime in interface Increasinguntil - The value in the future.public boolean isCompleted(Appointable.Constraint lim, TargetDefinition dummy)
EndpointConstrainingisCompleted in interface EndpointConstraining