Interface ILcdTimeBounds

All Known Subinterfaces:
ILcdEditableTimeBounds
All Known Implementing Classes:
TLcdCSWTemporalExtent, TLcdGML31TimePeriod, TLcdGML32TimePeriod, TLcdKML22TimeSpan, TLcdKML22TimeStamp, TLcdTimeBounds

public interface ILcdTimeBounds
An ILcdTimeBounds object is an object representing a time interval. It has a begin time, an end time and corresponding boundedness settings.

The boundedness of a time value defines if the time value is bounded, unbounded or undefined. When the boundedness is set to ILcdTimeBounds.Boundedness.BOUNDED, the time value is bounded and the actual value defines the time. When the boundedness is set to ILcdTimeBounds.Boundedness.UNBOUNDED or ILcdTimeBounds.Boundedness.UNDEFINED, the time value is unbounded or undefined and the actual value is not defined.

Since:
9.1
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Describes the boundedness of an object: BOUNDED denotes that the object is bounded: it has a time setting; UNBOUNDED denotes that the object is unbounded: it has always existed, or it will always exist; UNDEFINED denotes that the object is undefined: it has no time setting, or it is not (yet) initialized.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the begin time of this ILcdTimeBounds.
    Returns the boundedness of the begin time.
    long
    Returns the end time of this ILcdTimeBounds.
    Returns the boundedness of the end time.
  • Method Details

    • getBeginTimeBoundedness

      ILcdTimeBounds.Boundedness getBeginTimeBoundedness()
      Returns the boundedness of the begin time. This method can be used to check whether the begin time is undefined, bounded or unbounded.
      Returns:
      the boundedness of the begin time.
    • getEndTimeBoundedness

      ILcdTimeBounds.Boundedness getEndTimeBoundedness()
      Returns the boundedness of the end time. This method can be used to check whether the end time is undefined, bounded or unbounded.
      Returns:
      the boundedness of the end time.
    • getBeginTime

      long getBeginTime()
      Returns the begin time of this ILcdTimeBounds. The long value is defined as in Date.getTime().

      This method should only be called if the corresponding boundedness is ILcdTimeBounds.Boundedness.BOUNDED. Otherwise, the return value of this method is undefined.

      Returns:
      the begin time of this ILcdTimeBounds.
    • getEndTime

      long getEndTime()
      Returns the end time of this ILcdTimeBounds. The long value is defined as in Date.getTime().

      This method should only be called if the corresponding boundedness is ILcdTimeBounds.Boundedness.BOUNDED. Otherwise, the return value of this method is undefined.

      Returns:
      the end time of this ILcdTimeBounds.