Several internal functions, not exported from the PMwR name space.
.timestamp(x)
.timestamp(x) <- value.may_be_Date(x, …)
.timestamp
extracts or replaces an object's timestamp.
.may_be_Date
checks whether a vector could be
coerced to class Date
, in which case it
evaluates to (a single) TRUE
; otherwise it
returns FALSE
.
E. Schumann (2019) Portfolio Management with R. http://enricoschumann.net/PMwR