checkTimeFormat: Check timestamp format

View source: R/checkTimeFormat.R

checkTimeFormatR Documentation

Check timestamp format

Description

Helper function used internally. Generate informative error message if timestamp could not be recognisede.

Usage

  checkTimeFormat(timestamp_POSIX, rawValue = " ?? ", timeformat = " ?? ",
                           timeformatName = NULL)

Arguments

timestamp_POSIX

POSIX object with timestamp

rawValue

Timestamp value as encounterd in the data before processing

timeformat

Timestap format used for converting timestamp

timeformatName

Character with the argument name to specify the timeformat. If used as dependency of GGIR then this argument name will be different.

Value

No output value is generated, only an error message if timestamp could not be recognised.

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIRread documentation built on Oct. 25, 2024, 5:06 p.m.