A class and constructor of time traitlets.

Super class

RKernel::Trait -> TimeClass

Public fields

value

A date.

coerce

Logical value, whether assignments to the value field should be coerced to the appropriate type.

Methods

Inherited methods


Method validator()

Check the value assigned to the traitlet.

Usage

TimeClass$validator(value)

Arguments

value

The value assigned to the traitlet.


Method new()

Initialize the traitlet.

Usage

TimeClass$new(initial = as.POSIXct(integer(0)), coerce = TRUE)

Arguments

initial

An optional POSIXct object or an object coercive into such an object

coerce

An optional logical value


Method clone()

The objects of this class are cloneable with this method.

Usage

TimeClass$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.