Class RuleBuilderFormatUtil
java.lang.Object
org.broadleafcommerce.openadmin.web.rulebuilder.RuleBuilderFormatUtil
Work with dates in rule builder mvel
- Author:
- Jeff Fischer
-
Field Details
-
COMPATIBILITY_FORMAT
- See Also:
-
DATE_FORMAT
- See Also:
-
-
Constructor Details
-
RuleBuilderFormatUtil
public RuleBuilderFormatUtil()
-
-
Method Details
-
formatDate
Prepare date for display in the admin- Parameters:
date
- the date to convert- Returns:
- the string value to show in the admin
-
parseDate
Parse the string value of the date stored in mvel- Parameters:
date
- the mvel date value- Returns:
- the parsed Date instance
- Throws:
ParseException
-