NAME
Form::Toolkit::FieldRole::DateTruncate - Truncate a Date to the given date_truncation.
value_matches
Returns true if the held value matches the given date given the set date_truncation.
Usage:
$this->value_matches(DateTime->now());
value_before
Is the value before (inclusive) the given date in the set date_truncation?
Usage:
if( $this->value_before(DateTime->now()) ){
}