GMLTimeInstant
GMLTimeInstant
Object of R6Class
for modelling an GMLTimeInstant
R6Class
object.
new(xml, timePosition)
This method is used to instantiate an GMLTimeInstant
setTimePosition(timePosition)
Sets the position (date or date and time of the resource contents), as object of class "POSIXct"/"POSIXt" or "Date"
# NOT RUN {
time <- ISOdate(2000, 1, 12, 12, 59, 45)
md <- GMLTimeInstant$new(timePosition = time)
xml <- md$encode()
# }
Run the code above in your browser using DataLab