ISOPeriodDuration: ISOPeriodDuration

ISOPeriodDurationR Documentation

ISOPeriodDuration

Description

ISOPeriodDuration

ISOPeriodDuration

Format

R6Class object.

Value

Object of R6Class for modelling an ISO PeriodDuration

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOPeriodDuration

Public fields

value

value

Methods

Public methods

Inherited methods

Method new()

Initializes a period duration

Usage
ISOPeriodDuration$new(
  xml = NULL,
  value = NULL,
  years = 0,
  months = 0,
  days = 0,
  hours = 0,
  mins = 0,
  secs = 0,
  start = NULL,
  end = NULL
)
Arguments
xml

object of class XMLInternalNode-class

value

value

years

years

months

months

days

days

hours

hours

mins

mins

secs

secs

start

start position

end

end position


Method setDuration()

Computes period duration

Usage
ISOPeriodDuration$setDuration(
  years = 0,
  months = 0,
  days = 0,
  hours = 0,
  mins = 0,
  secs = 0,
  start = NULL,
  end = NULL
)
Arguments
years

years

months

months

days

days

hours

hours

mins

mins

secs

secs

start

start position

end

end position


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOPeriodDuration$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19139 https://schemas.isotc211.org/19139/-/gts/1.0/gts/#element_TM_PeriodDuration

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/gco/1.0/gco/#element_TM_PeriodDuration


geometa documentation built on April 4, 2025, 6 a.m.