Learn R Programming

parttime (version 0.1.2)

has_partial: Test whether a partial_time object is incomplete

Description

Test whether a partial_time object is incomplete

Usage

has_partial(
  x,
  ...,
  components = c("year", "month", "day", "hour", "min", "sec", "secfrac", "tzhour",
    "tzmin")
)

Value

A logical vector indicating whether each element of a partial_time

has any missing datetime fields.

Arguments

x

a partial_time object to test for incompleteness

...

additional arguments unused

components

components to include in testing