ISOImageryRequestedDate

ISOImageryRequestedDate

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery requested date

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryRequestedDate

Public fields

requestedDateOfCollection

requestedDateOfCollection

latestAcceptableDate

latestAcceptableDate

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOImageryRequestedDate$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setRequestedDateOfCollection()

Set requested date of collection

Usage

ISOImageryRequestedDate$setRequestedDateOfCollection(date)

Arguments

date

object of class POSIXct


Method setLatestAcceptableDate()

Set latest acceptable date

Usage

ISOImageryRequestedDate$setLatestAcceptableDate(date)

Arguments

date

object of class POSIXct


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOImageryRequestedDate$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   #create band range dimension
   md <- ISOImageryRequestedDate$new()
   md$setRequestedDateOfCollection(Sys.time())
   md$setLatestAcceptableDate(Sys.time())
   xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}MI_RequestedDate': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOImageryRequestedDate' is INVALID according to ISO 19139 XML schemas!