A generic function that converts other date/time classes to jdate.
Usage
as_jdate(x, ...)
Value
A vector of jdate objects with the same length as x.
Arguments
x
A vector of jdatetime, POSIXct or Date.
...
These dots are for future extensions and must be empty.
Details
Unlike R's as.Date.POSIXct() method, as_jdate does not expose a time zone argument
and uses time zone attribute of input datetime object for conversion.