ISOTemporalExtent

ISOTemporalExtent

Format

R6Class object.

Value

Object of R6Class for modelling an ISO TemporalExtent

References

ISO 19115:2003 - Geographic information – Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOTemporalExtent

Public fields

extent

extent

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOTemporalExtent$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setTimeInstant()

Set time instant

Usage

ISOTemporalExtent$setTimeInstant(timeInstant)

Arguments

timeInstant

object of class GMLTimeInstant


Method setTimePeriod()

Set time period

Usage

ISOTemporalExtent$setTimePeriod(timePeriod)

Arguments

timePeriod

object of class GMLTimePeriod


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOTemporalExtent$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   te <- ISOTemporalExtent$new()
   start <- ISOdate(2000, 1, 12, 12, 59, 45)
   end <- ISOdate(2010, 8, 22, 13, 12, 43)
   tp <- GMLTimePeriod$new(beginPosition = start, endPosition = end)
   te$setTimePeriod(tp)