Class TimePeriodBound.GML3

java.lang.Object
org.apache.sis.internal.jaxb.gml.TimePeriodBound
org.apache.sis.internal.jaxb.gml.TimePeriodBound.GML3
Enclosing class:
TimePeriodBound

public static final class TimePeriodBound.GML3 extends TimePeriodBound
The begin or end position in a TimePeriod, expressed in the GML 3 way. Example:
  • Field Details

    • indeterminatePosition

      public String indeterminatePosition
      A textual indication of the time, usually "before", "after" or "now". This attribute and the value are mutually exclusive.
    • value

      public XMLGregorianCalendar value
      The actual time position, or null for indeterminate position.

      WARNING: The timezone information may be lost! This is because this field is derived from a Date, in which case we don't know if the time is really 0 or just unspecified. This class assumes that a time of zero means "unspecified". This will be revised after we implemented ISO 19108.

  • Constructor Details

    • GML3

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

      GML3(Instant instant, String indeterminate)
      Creates a bound initialized to the given instant.
      Parameters:
      instant - the instant of the new bound, or null.
      indeterminate - the value to give to indeterminatePosition if the date is null.
  • Method Details