dtt_completed {dttr2}R Documentation

Completed

Description

Tests whether a date time is complete.

Usage

dtt_completed(x, ...)

## S3 method for class 'Date'
dtt_completed(x, units = "days", unique = TRUE, sorted = TRUE, ...)

## S3 method for class 'POSIXct'
dtt_completed(x, units = "seconds", unique = TRUE, sorted = TRUE, ...)

## S3 method for class 'hms'
dtt_completed(x, units = "seconds", unique = TRUE, sorted = TRUE, ...)

Arguments

x

A date time vector

...

Unused.

units

A string of the units.

unique

A flag indicating whether the values must be unique.

sorted

A flag indicating whether the values must be sorted.

Value

A flag indicating whether complete.

Methods (by class)


[Package dttr2 version 0.3.0 Index]