ISODate: ISODate

ISODateR Documentation

ISODate

Description

ISODate

ISODate

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Date

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISODate

Public fields

date

date

dateType

date type

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISODate$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setDate()

Set date

Usage
ISODate$setDate(date)
Arguments
date

object of class Date or POSIXct


Method setDateType()

Set date type

Usage
ISODate$setDateType(dateType)
Arguments
dateType

object of class ISODateType or any character values returned by ISODateType$values()


Method clone()

The objects of this class are cloneable with this method.

Usage
ISODate$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information – Metadata

Examples

  md <- ISODate$new()
  md$setDate(ISOdate(2015, 1, 1, 1))
  md$setDateType("publication")
  xml <- md$encode()


eblondel/geometa documentation built on April 18, 2024, 1:46 p.m.