Package org.yamcs.xtce
Class ReferenceTime
- java.lang.Object
-
- org.yamcs.xtce.ReferenceTime
-
- All Implemented Interfaces:
Serializable
public class ReferenceTime extends Object implements Serializable
Most time values are relative to another time e.g. seconds are relative to minutes, minutes are relative to hours. This type is used to describe this relationship starting with the least significant time Parameter to and progressing to the most significant time parameter.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferenceTime()ReferenceTime(ParameterInstanceRef offsetFrom)ReferenceTime(TimeEpoch epoch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeEpochgetEpoch()ParameterInstanceRefgetOffsetFrom()voidsetEpoch(TimeEpoch epoch)voidsetOffsetFrom(ParameterInstanceRef paramInstRef)StringtoString()
-
-
-
Constructor Detail
-
ReferenceTime
public ReferenceTime()
-
ReferenceTime
public ReferenceTime(TimeEpoch epoch)
-
ReferenceTime
public ReferenceTime(ParameterInstanceRef offsetFrom)
-
-
Method Detail
-
setOffsetFrom
public void setOffsetFrom(ParameterInstanceRef paramInstRef)
-
getOffsetFrom
public ParameterInstanceRef getOffsetFrom()
-
getEpoch
public TimeEpoch getEpoch()
-
setEpoch
public void setEpoch(TimeEpoch epoch)
-
-