GMLTimeInstant: GMLTimeInstant

GMLTimeInstantR Documentation

GMLTimeInstant

Description

GMLTimeInstant

GMLTimeInstant

Format

R6Class object.

Value

Object of R6Class for modelling an GMLTimeInstant

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::GMLAbstractObject -> geometa::GMLAbstractGML -> geometa::GMLAbstractTimeObject -> geometa::GMLAbstractTimePrimitive -> geometa::GMLAbstractTimeGeometricPrimitive -> GMLTimeInstant

Public fields

timePosition

[numeric|character|Date|POSIXt]

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
GMLTimeInstant$new(xml = NULL, timePosition)
Arguments
xml

object of class XMLInternalNode-class

timePosition

time position


Method setTimePosition()

Sets the position (date or date and time of the resource contents),

Usage
GMLTimeInstant$setTimePosition(timePosition)
Arguments
timePosition

object of class "numeric", "POSIXct"/"POSIXt" or "Date"


Method toISOFormat()

Export to ISO format (character)

Usage
GMLTimeInstant$toISOFormat()
Returns

a character in ISO format


Method clone()

The objects of this class are cloneable with this method.

Usage
GMLTimeInstant$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

  time <- ISOdate(2000, 1, 12, 12, 59, 45)
  md <- GMLTimeInstant$new(timePosition = time)
  xml <- md$encode()


geometa documentation built on May 29, 2024, 10:31 a.m.