public class FormatUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_FORMAT |
static String |
DATE_FORMAT_WITH_TIMEZONE |
| Constructor and Description |
|---|
FormatUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SimpleDateFormat |
getDateFormat() |
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).
|
public static final String DATE_FORMAT
public static final String DATE_FORMAT_WITH_TIMEZONE
public static SimpleDateFormat getDateFormat()
public static SimpleDateFormat getTimeZoneFormat()
Copyright © 2014. All rights reserved.