Class TimePeriod

java.lang.Object
org.apache.sis.internal.jaxb.gml.GMLAdapter
org.apache.sis.internal.jaxb.gml.TimePeriod

public final class TimePeriod extends GMLAdapter
The adapter for "TimePeriod". This is an attribute of TM_Primitive.
Since:
0.3
Version:
0.3
Author:
Guilhem Legal (Geomatys), Martin Desruisseaux (Geomatys)
  • Constructor Details

    • TimePeriod

      public TimePeriod()
      Empty constructor used by JAXB.
    • TimePeriod

      public TimePeriod(Period period)
      Creates a new Time Period bounded by the begin and end time specified in the given object.
      Parameters:
      period - the period to use for initializing this object.
  • Method Details

    • toString

      public String toString()
      Returns a string representation for debugging and formatting error message.
      Overrides:
      toString in class Object
      Returns:
      a string representation of this time period.