as_weekday() converts to a weekday type. This is normally useful for
converting to a weekday from a sys-time or naive-time. You can use this
function along with the circular arithmetic that weekday implements to
easily get to the "next Monday" or "previous Sunday".
An object to convert to a weekday. Usually a sys-time or naive-time.
#> <weekday> #>  Sat# See the examples in `?weekday` for more usage.