nanoperiod.month,nanoperiod-method {nanotime} | R Documentation |
These functions allow access to the components of a nanoperiod
## S4 method for signature 'nanoperiod' nanoperiod.month(x) ## S4 method for signature 'nanoperiod' nanoperiod.day(x) ## S4 method for signature 'nanoperiod' nanoperiod.nanoduration(x)
x |
A |
nanoperiod.month
and nanoperiod.day
return
an integer64
whereas nanoperiod.nanoduration
returns a nanoduration
Dirk Eddelbuettel
Leonardo Silvestri
p <- as.nanoperiod("2y1m1d/12:00:00") nanoperiod.month(p) nanoperiod.day(p) nanoperiod.nanoduration(p)