de.micromata.opengis.kml.v_2_2_0.TimeStamp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaAPIforKml Show documentation
Show all versions of JavaAPIforKml Show documentation
This is JavaAPIforKMml, Micromata's library for use with applications that want to parse, generate and operate on KML. It is an implementation of the OGC KML 2.2 standard. It is written entirely in Java and makes heavy use of JAXB.
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 }
*
* Represents a single moment in time. This is a simple element and contains no children.
* Its value is a dateTime, specified in XML time (see XML Schema Part 2: Datatypes
* Second Edition). The precision of the TimeStamp is dictated by the dateTime value
* in the {@code } element.
*
*
* Syntax:
* <TimeStamp id=ID>
* <when>...</when> <!-- kml:dateTime -->
* </TimeStamp>
*
* Extends:
*
*
* Contained By:
*
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeStampType", propOrder = {
"when",
"timeStampSimpleExtension",
"timeStampObjectExtension"
})
@XmlRootElement(name = "TimeStamp", namespace = "http://www.opengis.net/kml/2.2")
public class TimeStamp
extends TimePrimitive
implements Cloneable
{
/**
* {@code }
*
* Specifies a single moment in time. The value is a dateTime, which can be one of
* the following: dateTime gives second resolution date gives day resolution gYearMonth
* gives month resolution gYear gives year resolution
*
*
*
*
*/
protected String when;
@XmlElement(name = "TimeStampSimpleExtensionGroup")
@XmlSchemaType(name = "anySimpleType")
protected List