public class TimeSpanTests extends CommonFixture
CommonFixture.TargetElementsIterator| Modifier and Type | Field and Description |
|---|---|
(package private) org.joda.time.format.DateTimeFormatter |
timeFormatter |
client, conformanceLevel, kmlDoc, request, response, ROOT_PKG_PATH, targetElements| Constructor and Description |
|---|
TimeSpanTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
findTimeSpanElements()
Finds kml:TimeSpan elements in the KML document that do not appear in an
update context.
|
(package private) boolean |
isValidDefiniteTimeInterval(NodeList timeInstants)
Checks that the given time instants specify a valid temporal interval.
|
void |
validTimeSpan()
[Test] Verifies that a kml:TimeSpan element includes at least one child
element (kml:begin or kml:end).
|
buildGetRequest, clearMessages, findTargetElements, getResponseEntityAsDocument, initCommonFixture, setTargetElements, targetElementsProviderpublic void findTimeSpanElements()
public void validTimeSpan()
Temporal values of varying precision (from fractional second to year) are permitted: xsd:dateTime, xsd:date, xsd:gYearMonth, and xsd:gYear. A time zone indicator is allowed.
boolean isValidDefiniteTimeInterval(NodeList timeInstants)
timeInstants - A pair of nodes containing the beginning and ending instants
of the interval (kml:begin, kml:end).Copyright © 2016 Open Geospatial Consortium. All rights reserved.