public class RuleBuilderFormatUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPATIBILITY_FORMAT |
static java.lang.String |
DATE_FORMAT |
| Constructor and Description |
|---|
RuleBuilderFormatUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatDate(java.util.Date date)
Prepare date for display in the admin
|
static java.util.Date |
parseDate(java.lang.String date)
Parse the string value of the date stored in mvel
|
public static final java.lang.String COMPATIBILITY_FORMAT
public static final java.lang.String DATE_FORMAT
public static java.lang.String formatDate(java.util.Date date)
date - the date to convertpublic static java.util.Date parseDate(java.lang.String date)
throws java.text.ParseException
date - the mvel date valuejava.text.ParseExceptionCopyright © 2018. All Rights Reserved.