Learn R Programming

geometa (version 0.9.1)

GMLTimeInstant: GMLTimeInstant

Description

GMLTimeInstant

GMLTimeInstant

Arguments

Value

Object of R6Class for modelling an GMLTimeInstant

Format

R6Class object.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

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

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.

Examples

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

Run the code above in your browser using DataLab