org.omg.TimeBase
Class IntervalT

java.lang.Object
  extended by org.omg.TimeBase.IntervalT
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.portable.IDLEntity

public final class IntervalT
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

This type holds a time interval represented as two TimeT values corresponding to the lower and upper bound of the interval. An IntervalT structure containing a lower bound greater than the upper bound is invalid. For the interval to be meaningful, the time base used for the lower and upper bound must be same, and the time base itself must not be spanned by the interval

See Also:
Serialized Form

Field Summary
 long lower_bound
          Struct member lower_bound
 long upper_bound
          Struct member upper_bound
 
Constructor Summary
IntervalT()
          Default constructor
IntervalT(long lower_bound, long upper_bound)
          Constructor with fields initialization
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lower_bound

public long lower_bound
Struct member lower_bound


upper_bound

public long upper_bound
Struct member upper_bound

Constructor Detail

IntervalT

public IntervalT()
Default constructor


IntervalT

public IntervalT(long lower_bound,
                 long upper_bound)
Constructor with fields initialization

Parameters:
lower_bound - lower_bound struct member
upper_bound - upper_bound struct member