ValidatorDate: ValidatorDate

Description Usage Arguments Format Details Value Methods Author(s) See Also

Description

ValidatorDate Class for validating and parsing dates

Usage

1

Arguments

value

Character string containing the value to be validated

expect

Character string or logical indicating the expected value

Format

An object of class R6ClassGenerator of length 24.

Details

This class provide a methods for validating and parsing dates. This class uses the 'parsedate' package to return a POSIXct object for any recognizable date format.

Value

A logical TRUE if class is equal to expected value, FALSE otherwise.

Methods

validate(value, expect = NULL)

Method for validating and parsing dates

Author(s)

John James, [email protected]

See Also

Other Validation Classes: Validator0, ValidatorClass, ValidatorExists, ValidatorLogical, ValidatorNoSpaces, ValidatorNotEmpty, ValidatorNumeric, ValidatorPath, ValidatorString, ValidatorUrl, Validator


DataScienceSalon/NLPStudio1 documentation built on March 19, 2018, 4:10 a.m.