ISODate
ISODate
ISODate class
R6Class
object.
Object of R6Class
for modelling an ISO Date
md <- ISODate$new() md$setDate(ISOdate(2015, 1, 1, 1)) md$setDateType("publication") xml <- md$encode()
ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_CI_Date
ISO 19115-3 https://schemas.isotc211.org/19115/-3/cit/2.0/cit/#element_CI_Date
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOAbstractTypedDate
-> ISODate
date
: date
dateType
: date type
new()
Initializes object
ISODate$new(xml = NULL, date = NULL, dateType = NULL)
xml
: object of class XMLInternalNode-class
date
: object of class Date or POSIXt
dateType
: object of class ISODateType or any character
value among values returned by `ISODateType$values()`
setDate()
Set date
ISODate$setDate(date)
date
: object of class Date or POSIXct
setDateType()
Set date type
ISODate$setDateType(dateType)
dateType
: object of class ISODateType
or any character values returned by `ISODateType$values()`
clone()
The objects of this class are cloneable with this method.
ISODate$clone(deep = FALSE)
deep
: Whether to make a deep clone.