Class TimePeriodBound

java.lang.Object
org.apache.sis.internal.jaxb.gml.TimePeriodBound
Direct Known Subclasses:
TimePeriodBound.GML2, TimePeriodBound.GML3

public abstract class TimePeriodBound extends Object
The begin or end position in a TimePeriod. This information is encoded in different way depending if we are reading or formatting a GML2 or GML3 file.
Since:
0.3
Version:
0.3
  • Constructor Details

    • TimePeriodBound

      TimePeriodBound()
      Empty constructor for subclasses only.
  • Method Details

    • calendar

      abstract XMLGregorianCalendar calendar()
      Returns the XML calendar, or null if none. This information is encoded in different fields depending if we are reading/writing a GML2 or a GML3 file.
    • toString

      public String toString()
      Returns a string representation of this bound for debugging purpose.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the time currently set.