powered by
These functions allow access to the components of a nanoperiod
nanoperiod
# S4 method for nanoperiod nanoperiod.month(x)# S4 method for nanoperiod nanoperiod.day(x)# S4 method for nanoperiod nanoperiod.nanoduration(x)
# S4 method for nanoperiod nanoperiod.day(x)
# S4 method for nanoperiod nanoperiod.nanoduration(x)
nanoperiod.month and nanoperiod.day return an integer64 whereas nanoperiod.nanoduration
nanoperiod.month
nanoperiod.day
integer64
nanoperiod.nanoduration
returns a nanoduration
nanoduration
A nanoperiod
Dirk Eddelbuettel
Leonardo Silvestri
p <- as.nanoperiod("2y1m1d/12:00:00") nanoperiod.month(p) nanoperiod.day(p) nanoperiod.nanoduration(p)
Run the code above in your browser using DataLab