jdatetime objectCast an object to a jdatetime object
# S3 method for jdatetime
vec_cast(x, to, ...)A vector of jdatetime objects.
Vectors to cast.
Type to cast to. If NULL, x will be returned as is.
For vec_cast_common(), vectors to cast. For
vec_cast(), vec_cast_default(), and vec_restore(), these
dots are only for future extensions and should be empty.
as_jdatetime is a convenience function that makes use of the casts that
are defined for vec_cast.jdatetime() methods.