org.broadleafcommerce.common.util
Class FormatUtil
java.lang.Object
org.broadleafcommerce.common.util.FormatUtil
public class FormatUtil
- extends Object
- Author:
- Jeff Fischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATE_FORMAT
public static final String DATE_FORMAT
- See Also:
- Constant Field Values
DATE_FORMAT_WITH_TIMEZONE
public static final String DATE_FORMAT_WITH_TIMEZONE
- See Also:
- Constant Field Values
FormatUtil
public FormatUtil()
getDateFormat
public static SimpleDateFormat getDateFormat()
getTimeZoneFormat
public static SimpleDateFormat getTimeZoneFormat()
- Used with dates in rules since they are not stored as a Timestamp type (and thus not converted to a specific database
timezone on a save). In order to provide accurate information, the timezone must also be preserved in the MVEL rule
expression
- Returns:
Copyright © 2013. All Rights Reserved.