An R6 class to define a TimeIntervalClass

Methods


Method new()

Usage

TimeIntervalClass$new(lb, rb)

Arguments

lb

left bound - the start of the time interval

rb

right bound - the end of the time interval


Method getLb()

return the left bound

Usage

TimeIntervalClass$getLb()


Method getRb()

return the right bound

Usage

TimeIntervalClass$getRb()


Method getTimeLabel()

create and return time labels for left and right bounds

Usage

TimeIntervalClass$getTimeLabel()


Method getTimeInterval()

return a tibble with the left and right bounds

Usage

TimeIntervalClass$getTimeInterval()


Method clone()

The objects of this class are cloneable with this method.

Usage

TimeIntervalClass$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.