vec_cast.partial_time.default: Default handler for casting to a partial time

View source: R/class_partial_time_coercion.R

vec_cast.partial_time.defaultR Documentation

Default handler for casting to a partial time

Description

Default handler for casting to a partial time

Usage

## S3 method for class 'partial_time.default'
vec_cast(x, to, ...)

Arguments

x

Vectors to cast.

to

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.

Value

A partial_time vector


parttime documentation built on May 29, 2024, 6:25 a.m.