de.micromata.opengis.kml.v_2_2_0.TimeSpan Maven / Gradle / Ivy
Show all versions of JavaAPIforKml Show documentation
package de.micromata.opengis.kml.v_2_2_0;
import de.micromata.opengis.kml.v_2_2_0.annotations.Obvious;
import jakarta.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* {@code } and {@code }
*
* If {@code } or {@code } is missing, then that end of the period is unbounded (see Example
* below).
*
*
* Represents an extent in time bounded by begin and end dateTimes.
*
*
* The dateTime is defined according to XML Schema time (see XML Schema Part 2: Datatypes
* Second Edition). The value can be expressed as yyyy-mm-ddThh:mm:sszzzzzz, where
* T is the separator between the date and the time, and the time zone is either Z
* (for UTC) or zzzzzz, which represents ±hh:mm in relation to UTC. Additionally, the
* value can be expressed as a date only. See {@code } for examples.
*
*
* Syntax:
* <TimeSpan id="ID">
* <begin>...</begin> <!-- kml:dateTime -->
* <end>...</end> <!-- kml:dateTime -->
* </TimeSpan>
*
* Extends:
*
*
* Contained By:
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeSpanType", propOrder = {
"begin",
"end",
"timeSpanSimpleExtension",
"timeSpanObjectExtension"
})
@XmlRootElement(name = "TimeSpan", namespace = "http://www.opengis.net/kml/2.2")
public class TimeSpan
extends TimePrimitive
implements Cloneable
{
/**
* {@code }
*
* Describes the beginning instant of a time period. If absent, the beginning of the
* period is unbounded.
*
*
*
*
*/
protected String begin;
/**
* {@code }
*
* Describes the ending instant of a time period. If absent, the end of the period
* is unbounded.
*
*
*
*
*/
protected String end;
@XmlElement(name = "TimeSpanSimpleExtensionGroup")
@XmlSchemaType(name = "anySimpleType")
protected List