Package org.apache.sis.internal.jaxb.gml
Class TimePeriodBound.GML3
java.lang.Object
org.apache.sis.internal.jaxb.gml.TimePeriodBound
org.apache.sis.internal.jaxb.gml.TimePeriodBound.GML3
- Enclosing class:
- TimePeriodBound
The begin or end position in a
TimePeriod, expressed in the GML 3 way.
Example:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.internal.jaxb.gml.TimePeriodBound
TimePeriodBound.GML2, TimePeriodBound.GML3 -
Field Summary
FieldsModifier and TypeFieldDescriptionA textual indication of the time, usually"before","after"or"now".The actual time position, ornullfor indeterminate position. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) XMLGregorianCalendarcalendar()Returns the XML calendar, ornullif none or undetermined.Methods inherited from class org.apache.sis.internal.jaxb.gml.TimePeriodBound
toString
-
Field Details
-
indeterminatePosition
A textual indication of the time, usually"before","after"or"now". This attribute and the value are mutually exclusive. -
value
The actual time position, ornullfor 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
Creates a bound initialized to the given instant.- Parameters:
instant- the instant of the new bound, ornull.indeterminate- the value to give toindeterminatePositionif the date is null.
-
-
Method Details
-
calendar
XMLGregorianCalendar calendar()Returns the XML calendar, ornullif none or undetermined.- Specified by:
calendarin classTimePeriodBound
-