Package org.omg.space.xtce
Class RelativeTimeDataType
- java.lang.Object
-
- org.omg.space.xtce.DescriptionType
-
- org.omg.space.xtce.NameDescriptionType
-
- org.omg.space.xtce.BaseTimeDataType
-
- org.omg.space.xtce.RelativeTimeDataType
-
- Direct Known Subclasses:
ParameterTypeSetType.RelativeTimeParameterType
public class RelativeTimeDataType extends BaseTimeDataType
Used to contain a relative time value. Used to describe a relative time. Normally used for time offsets. A Relative time is expressed as PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision. For example, to indicate a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes, one would write: P1Y2M3DT10H30M. One could also indicate a duration of minus 120 days as: -P120D. An extension of Schema duration type.Java class for RelativeTimeDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RelativeTimeDataType"> <complexContent> <extension base="{http://www.omg.org/space/xtce}BaseTimeDataType"> <attribute name="initialValue" type="{http://www.w3.org/2001/XMLSchema}duration" /> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.omg.space.xtce.BaseTimeDataType
BaseTimeDataType.Encoding
-
Nested classes/interfaces inherited from class org.omg.space.xtce.DescriptionType
DescriptionType.AncillaryDataSet
-
-
Field Summary
Fields Modifier and Type Field Description protected DurationinitialValue-
Fields inherited from class org.omg.space.xtce.BaseTimeDataType
encoding, referenceTime
-
Fields inherited from class org.omg.space.xtce.NameDescriptionType
name
-
Fields inherited from class org.omg.space.xtce.DescriptionType
aliasSet, ancillaryDataSet, longDescription, shortDescription
-
-
Constructor Summary
Constructors Constructor Description RelativeTimeDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetInitialValue()Gets the value of the initialValue property.voidsetInitialValue(Duration value)Sets the value of the initialValue property.-
Methods inherited from class org.omg.space.xtce.BaseTimeDataType
getEncoding, getReferenceTime, setEncoding, setReferenceTime
-
Methods inherited from class org.omg.space.xtce.NameDescriptionType
getName, setName
-
Methods inherited from class org.omg.space.xtce.DescriptionType
getAliasSet, getAncillaryDataSet, getLongDescription, getShortDescription, setAliasSet, setAncillaryDataSet, setLongDescription, setShortDescription
-
-
-
-
Field Detail
-
initialValue
protected Duration initialValue
-
-