Description Usage Arguments Format Details Value Methods Author(s) See Also
ValidatorDate
Class for validating and parsing dates
1 |
value |
Character string containing the value to be validated |
expect |
Character string or logical indicating the expected value |
An object of class R6ClassGenerator
of length 24.
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.
A logical TRUE if class is equal to expected value, FALSE otherwise.
validate(value, expect = NULL)
Method for validating and parsing dates
John James, jjames@datasciencesalon.org
Other Validation Classes: Validator0
,
ValidatorClass
,
ValidatorExists
,
ValidatorLogical
,
ValidatorNoSpaces
,
ValidatorNotEmpty
,
ValidatorNumeric
,
ValidatorPath
,
ValidatorString
,
ValidatorUrl
, Validator
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.