GMLTimeInstant function

GMLTimeInstant

GMLTimeInstant

GMLTimeInstant

GMLTimeInstant class

Format

R6Class object.

Returns

Object of R6Class for modelling an GMLTimeInstant

Examples

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

Author(s)

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

Public 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.

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29