Package org.apache.sis.internal.jaxb.gml
Class TimePeriodBound.GML2
java.lang.Object
org.apache.sis.internal.jaxb.gml.TimePeriodBound
org.apache.sis.internal.jaxb.gml.TimePeriodBound.GML2
- Enclosing class:
TimePeriodBound
The begin or end position in a
TimePeriod
, expressed in the GML 2 way.
This object encapsulates a TimeInstant
inside a begin
or end
element inside a GML 2 TimePeriod
in GML 2. This is not used for GML 3.
Example:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.internal.jaxb.gml.TimePeriodBound
TimePeriodBound.GML2, TimePeriodBound.GML3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) XMLGregorianCalendar
calendar()
Returns the XML calendar, ornull
if none.Methods inherited from class org.apache.sis.internal.jaxb.gml.TimePeriodBound
toString
-
Field Details
-
timeInstant
The time.
-
-
Constructor Details
-
GML2
public GML2()Empty constructor used by JAXB. -
GML2
GML2(Instant instant) Creates a bound initialized to the given instant.- Parameters:
instant
- The instant of the new bound, ornull
.
-
-
Method Details
-
calendar
XMLGregorianCalendar calendar()Returns the XML calendar, ornull
if none.- Specified by:
calendar
in classTimePeriodBound
-