assert_dtc_fmt: Assert date time character formats

View source: R/dtc_utils.R

assert_dtc_fmtR Documentation

Assert date time character formats

Description

assert_dtc_fmt() takes a character vector of date/time formats and checks if the formats are supported, meaning it checks if they are one of the formats listed in column fmt of dtc_formats, failing with an error otherwise.

Usage

assert_dtc_fmt(fmt)

Arguments

fmt

A character vector.


sdtm.oak documentation built on April 3, 2025, 9:37 p.m.