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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) TimePeriodBound
    The start time, which may be marshalled in a GML3 way or GML2 way.
    (package private) TimePeriodBound
    The end time, which may be marshalled in a GML3 way or GML2 way.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor used by JAXB.
    Creates a new Time Period bounded by the begin and end time specified in the given object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a string representation for debugging and formatting error message.

    Methods inherited from class org.apache.sis.internal.jaxb.gml.GMLAdapter

    copyIdTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • begin

      The start time, which may be marshalled in a GML3 way or GML2 way. The GML2 way is more verbose.
    • end

      The end time, which may be marshalled in a GML3 way or GML2 way. The GML2 way is more verbose.
  • 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.