Class TemporalExtentImpl

All Implemented Interfaces:
Serializable, Cloneable, TemporalExtent

public class TemporalExtentImpl extends MetadataEntity implements TemporalExtent
Boundary enclosing the dataset, expressed as the closed set of (x,y) coordinates of the polygon. The last point replicates first point.
Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
  • Constructor Details

    • TemporalExtentImpl

      public TemporalExtentImpl()
      Constructs an initially empty temporal extent.
    • TemporalExtentImpl

      public TemporalExtentImpl(TemporalExtent source)
      Constructs a metadata entity initialized with the values from the specified metadata.
      Since:
      2.4
    • TemporalExtentImpl

      public TemporalExtentImpl(Date startTime, Date endTime)
      Creates a temporal extent initialized to the specified values.
  • Method Details

    • getStartTime

      public Date getStartTime()
      The start date and time for the content of the dataset.
    • setStartTime

      public void setStartTime(Date newValue)
      Set the start date and time for the content of the dataset.
    • getEndTime

      public Date getEndTime()
      Returns the end date and time for the content of the dataset.
    • setEndTime

      public void setEndTime(Date newValue)
      Set the end date and time for the content of the dataset.
    • getExtent

      public TemporalPrimitive getExtent()
      Returns the date and time for the content of the dataset.
      Specified by:
      getExtent in interface TemporalExtent
      Returns:
      The date and time for the content.
      Since:
      2.4
    • setExtent

      public void setExtent(TemporalPrimitive newValue)
      Set the date and time for the content of the dataset.
      Since:
      2.4