public class FormatUtil extends Object
Modifier and Type | Field and Description |
---|---|
static short |
FORMAT_TYPE_DATE |
static short |
FORMAT_TYPE_DATE_ALL |
static short |
FORMAT_TYPE_DATE_TIME |
static short |
FORMAT_TYPE_TIME |
Constructor and Description |
---|
FormatUtil() |
Modifier and Type | Method and Description |
---|---|
static DateFormat[] |
getCFMLFormats(TimeZone tz,
boolean lenient)
CFML Supported LS Formats
|
static DateFormat[] |
getDateFormats(Locale locale,
TimeZone tz,
boolean lenient) |
static DateFormat[] |
getDateTimeFormats(Locale locale,
TimeZone tz,
boolean lenient) |
static DateFormat[] |
getFormats(Locale locale,
TimeZone tz,
boolean lenient,
short formatType) |
static String[] |
getSupportedPatterns(Locale locale,
short formatType) |
static DateFormat[] |
getTimeFormats(Locale locale,
TimeZone tz,
boolean lenient) |
public static final short FORMAT_TYPE_DATE
public static final short FORMAT_TYPE_TIME
public static final short FORMAT_TYPE_DATE_TIME
public static final short FORMAT_TYPE_DATE_ALL
public FormatUtil()
public static DateFormat[] getDateTimeFormats(Locale locale, TimeZone tz, boolean lenient)
public static DateFormat[] getDateFormats(Locale locale, TimeZone tz, boolean lenient)
public static DateFormat[] getTimeFormats(Locale locale, TimeZone tz, boolean lenient)
public static DateFormat[] getCFMLFormats(TimeZone tz, boolean lenient)
locale
- tz
- lenient
- public static DateFormat[] getFormats(Locale locale, TimeZone tz, boolean lenient, short formatType)
public static String[] getSupportedPatterns(Locale locale, short formatType)
Copyright © 2015 Lucee