Class TimeDimension

java.lang.Object
net.finmath.smartcontract.product.xml.TimeDimension

public class TimeDimension extends Object
The time dimensions of a term-structure. The user must supply either a tenor or a date or both.

Java class for TimeDimension complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TimeDimension">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="tenor" type="{http://www.fpml.org/FpML-5/confirmation}Period"/>
         <sequence>
           <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
           <element name="tenor" type="{http://www.fpml.org/FpML-5/confirmation}Period" minOccurs="0"/>
         </sequence>
       </choice>
     </restriction>
   </complexContent>
 </complexType>