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


geoflow_date$new()

Initializes a geoflow_date

Usage
geoflow_date$new()

geoflow_date$setKey()

Sets the date key

Usage
geoflow_date$setKey(key)
Arguments
key

date key


geoflow_date$setValue()

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

Usage
geoflow_date$setValue(value)
Arguments
value

date value


geoflow_date$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 Sept. 5, 2026, 5:08 p.m.