net.sf.yavtags.rules
Class Date

java.lang.Object
  extended by net.sf.yavtags.rules.YavRule
      extended by net.sf.yavtags.rules.Date

public class Date
extends YavRule

Value must be a valid date, using DATE_FORMAT format.


Field Summary
 java.lang.String DATE_FORMAT
           
 
Fields inherited from class net.sf.yavtags.rules.YavRule
i18nKeys, parameterMap, previousRules, yavConfig
 
Constructor Summary
Date(java.lang.String rule, java.util.List<YavRule> yavRules, YavConfig yavConfig)
           
 
Method Summary
 YavError checkError(java.lang.String value)
           
 
Methods inherited from class net.sf.yavtags.rules.YavRule
checkError, existsIndependentRuleForFieldName, getDependantRule, getFieldLabel, getFieldName, getI18nKeys, getMetanameLabel, getMetanameLabel, getProcessedValue, getProcessedValue, getRule, getRuleSuffix, getRuleType, hasFieldLabel, parseRule, setLocalizedFieldLabel, setParameterMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

public java.lang.String DATE_FORMAT
Constructor Detail

Date

public Date(java.lang.String rule,
            java.util.List<YavRule> yavRules,
            YavConfig yavConfig)
     throws java.text.ParseException
Throws:
java.text.ParseException
Method Detail

checkError

public YavError checkError(java.lang.String value)
Specified by:
checkError in class YavRule