ISODate
ISODate
Object of R6Class
for modelling an ISO Date
R6Class
object.
date
[ISOBaseDate
] the date
dateType
[ISODateType
] the date type
new(xml)
This method is used to instantiate an ISODate
setDate(date)
Sets the date
setDateType(dateType)
Sets the date type
ISO 19115:2003 - Geographic information -- Metadata
# NOT RUN {
md <- ISODate$new()
md$setDate(ISOdate(2015, 1, 1, 1))
md$setDateType("publication")
xml <- md$encode()
# }
Run the code above in your browser using DataLab