当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
DateFactory - JBoss RULES 3.0.6 API 英文版文档
org.drools.base.evaluators
Class DateFactory
java.lang.Object
org.drools.base.evaluators.DateFactory
public class DateFactory
- extends java.lang.Object
This will generate evaluators that handle dates.
This will also parse strings into dates, according to
DEFAULT_FORMAT_MASK, unless it is overridden by the drools.dateformat system property.
When parsing dates from a string, no time is included.
So you can do expressions like
Person(birthday <= "10-Jul-1974")
etc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFactory
public DateFactory()
getDateEvaluator
public static Evaluator getDateEvaluator(int operator)