GMLTimeInstant
GMLTimeInstant
GMLTimeInstant class
R6Class
object.
Object of R6Class
for modelling an GMLTimeInstant
time <- ISOdate(2000, 1, 12, 12, 59, 45) md <- GMLTimeInstant$new(timePosition = time) xml <- md$encode()
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::GMLAbstractObject
-> geometa::GMLAbstractGML
-> geometa::GMLAbstractTimeObject
-> geometa::GMLAbstractTimePrimitive
-> geometa::GMLAbstractTimeGeometricPrimitive
-> GMLTimeInstant
timePosition
: [numeric
|character
|Date
|POSIXt
]
new()
Initializes object
GMLTimeInstant$new(xml = NULL, timePosition)
xml
: object of class XMLInternalNode-class
timePosition
: time position
setTimePosition()
Sets the position (date or date and time of the resource contents),
GMLTimeInstant$setTimePosition(timePosition)
timePosition
: object of class "numeric", "POSIXct"/"POSIXt" or "Date"
toISOFormat()
Export to ISO format (character )
GMLTimeInstant$toISOFormat()
a character in ISO format
clone()
The objects of this class are cloneable with this method.
GMLTimeInstant$clone(deep = FALSE)
deep
: Whether to make a deep clone.