powered by
GMLTimeInstant
Object of R6Class for modelling an GMLTimeInstant
R6Class
R6Class object.
timePosition
[numeric|character|Date|POSIXt]
numeric
character
Date
POSIXt
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