public class RuleBuilderFormatUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPATIBILITY_FORMAT |
static String |
DATE_FORMAT |
| Constructor and Description |
|---|
RuleBuilderFormatUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatDate(Date date)
Prepare date for display in the admin
|
static Date |
parseDate(String date)
Parse the string value of the date stored in mvel
|
public static final String COMPATIBILITY_FORMAT
public static final String DATE_FORMAT
public static String formatDate(Date date)
date - the date to convertpublic static Date parseDate(String date) throws ParseException
date - the mvel date valueParseExceptionCopyright © 2022. All rights reserved.