Interface TimeOrRange

All Superinterfaces:
AbstractSWE, AbstractSWEIdentifiable, DataComponent, HasConstraints<AllowedTimes>, HasCopy, HasRefFrames, HasUom, Serializable, SimpleComponent
All Known Subinterfaces:
Time, TimeRange
All Known Implementing Classes:
TimeImpl, TimeRangeImpl

public interface TimeOrRange extends SimpleComponent, HasRefFrames, HasUom, HasConstraints<AllowedTimes>
Tagging interface to allow processing of Time and TimeRange components with common logic
  • Method Details

    • getReferenceTime

      OffsetDateTime getReferenceTime()
      Gets the referenceTime property
    • isSetReferenceTime

      boolean isSetReferenceTime()
      Checks if referenceTime is set
    • setReferenceTime

      void setReferenceTime(OffsetDateTime referenceTime)
      Sets the referenceTime property
    • isIsoTime

      boolean isIsoTime()
      Returns:
      true if time is encoded as ISO8601 string