public abstract class BaseTimeDataType extends BaseDataType
encodingname, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Modifier | Constructor and Description |
|---|---|
protected |
BaseTimeDataType(BaseTimeDataType t)
creates a shallow copy of t
|
| Modifier and Type | Method and Description |
|---|---|
double |
getOffset() |
double |
getScale() |
boolean |
needsScaling() |
abstract Object |
parseString(String stringValue) |
Object |
parseStringForRawValue(String stringValue) |
void |
setScaling(boolean needsScaling,
double offset,
double scale)
Scale and offset are used in a y = m*x + b type relationship (m is the scale and b is the offset)
to make adjustments to the encoded value so that it matches the time units.
|
addAllUnits, addUnit, getEncoding, getUnitSet, setEncodingaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getAncillaryDataSet, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getTypeAsString, getValueType, setInitialValueprotected BaseTimeDataType(BaseTimeDataType t)
t - public abstract Object parseString(String stringValue)
parseString in class BaseDataTypepublic Object parseStringForRawValue(String stringValue)
parseStringForRawValue in class BaseDataTypepublic void setScaling(boolean needsScaling,
double offset,
double scale)
needsScaling - offset - scale - public boolean needsScaling()
public double getOffset()
public double getScale()
Copyright © 2019 Space Applications Services. All rights reserved.