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 String | formatDateUsingW3C(Date date)Use to produce date Strings in the W3C date format | 
| 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()
public static String formatDateUsingW3C(Date date)
date - DatatypeConfigurationExceptionCopyright © 2020. All rights reserved.