Function to read the "when.measured" attribute of an existing generic_spct or a generic_mspct.
1 2 3 4 5 6 7 8 9 10 11 12 13
a generic_spct object
Allows use of additional arguments in methods for other classes.
logical whether to add a column with the names of the elements of spct
POSIXct An object with date and time.
If x is not a
generic_spct or an object of a derived class
NA is returned.
The method for collections of spectra returns the a tibble with the correct times in TZ = "UTC".