Learn R Programming

geometa (version 0.6-2)

GMLTimeInstant: GMLTimeInstant

Description

GMLTimeInstant

Usage

GMLTimeInstant

Arguments

Value

Object of R6Class for modelling an GMLTimeInstant

Format

R6Class object.

Fields

timePosition

[numeric|character|Date|POSIXt]

Methods

new(xml, timePosition)

This method is used to instantiate an GMLTimeInstant

setTimePosition(timePosition)

Sets the position (date or date and time of the resource contents), as object of class "POSIXct"/"POSIXt" or "Date"

Examples

Run this code
# NOT RUN {
  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