SWETimeRange

SWETimeRange

Format

R6Class object.

Value

Object of R6Class for modelling an SWE Time Range

References

SWE Common Data Model Encoding Standard. https://www.ogc.org/standards/swecommon

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

uom

uom

constraint

constraint

value

value

Methods

Inherited methods


Method new()

Initializes an object of class SWETimeRange

Usage

SWETimeRange$new(
  xml = NULL,
  uom = NULL,
  constraint = NULL,
  start = NULL,
  end = NULL,
  updatable = NULL,
  optional = FALSE,
  definition = NULL
)

Arguments

xml

object of class XMLInternalNode-class from XML

uom

uom

constraint

constraint

start

start time

end

end time

updatable

updatable

optional

optional

definition

definition


Method setUom()

setUom

Usage

SWETimeRange$setUom(uom)

Arguments

uom

uom


Method setConstraint()

setConstraint

Usage

SWETimeRange$setConstraint(constraint)

Arguments

constraint

constraint


Method setValue()

setValue

Usage

SWETimeRange$setValue(start, end)

Arguments

start

start time

end

end time


Method clone()

The objects of this class are cloneable with this method.

Usage

SWETimeRange$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.