Skip to contents

vrule_date_range

vrule_date_range

Details

vrule_date_range

Super classes

vrule::vrule_abstract -> vrule::vrule_abstract_simple -> vrule_date_range

Public fields

minValue

min value

maxValue

max value

Methods

Inherited methods


Method new()

Initializes a range validation rule

Usage

vrule_date_range$new(minValue, maxValue, ...)

Arguments

minValue

min value

maxValue

max value

...

any other arg


Method validate()

Validates data based on a date range

Usage

vrule_date_range$validate(value, ...)

Arguments

value

value

...

any other args

Returns

a validation report, object of class vrule_report


Method clone()

The objects of this class are cloneable with this method.

Usage

vrule_date_range$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.