geoflow_date: Geoflow date class

geoflow_dateR Documentation

Geoflow date class

Description

This class models an date

Format

R6Class object.

Details

geoflow_date

Value

Object of R6Class for modelling an date

Public fields

key

date key. Default is "creation"

value

date value. Default is generated with Sys.time()

Methods

Public methods


Method new()

Initializes a geoflow_date

Usage
geoflow_date$new()

Method setKey()

Sets the date key

Usage
geoflow_date$setKey(key)
Arguments
key

date key


Method setValue()

Sets the date value. The method will check validity of date value.

Usage
geoflow_date$setValue(value)
Arguments
value

date value


Method clone()

The objects of this class are cloneable with this method.

Usage
geoflow_date$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

## Not run: 
  date <- geoflow_date$new()
  date$setKey("creation")
  date$setValue(Sys.time())

## End(Not run)


geoflow documentation built on Dec. 12, 2025, 5:08 p.m.