Enum DateDisplayFormat
- All Implemented Interfaces:
- ValueEnum,- Serializable,- Comparable<DateDisplayFormat>,- Constable
DateUtil.setNormalDisplayFormat() or  DateUtil.setShortDisplayFormat() and will be
 subsequently used as default long or short formatters for date objects by Smart GWT components. Custom
 formatting can also be applied by passing a FormatString instead of a 
 DateDisplayFormat string to DateUtil.setNormalDisplayFormat() et al. See the FormatString docs for details. 
 Default set of valid
 display formats is as follows:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDate in the format <YYYYMMDD>T<HHMMSS>Z Example:20051104T111001ZShort date in format DD/MM/YYYY.
 Example:4/11/2005Short date with time in format DD/MM/YYYY HH:MM
 Example:4/11/2005 11:03Short date in format YYYY/MM/DD.
 Example:2005/11/4Short date with time in format YYYY/MM/DD HH:MM
 Example:2005/11/4 11:03Default native browser 'toLocaleString()' implementation.Date in the format YYYY-MM-DD HH:MM:SS
 Example:2005-11-04 11:09:15Default native browser 'toString()' implementation.Short date in format MM/DD/YYYY.
 Example:11/4/2005Short date with time in format MM/DD/YYYY HH:MM
 Example:11/4/2005 11:03
- 
Method SummaryModifier and TypeMethodDescriptiongetValue()static DateDisplayFormatReturns the enum constant of this type with the specified name.static DateDisplayFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
TOSTRINGDefault native browser 'toString()' implementation. May vary by browser.
 Example:Fri Nov 04 2005 11:03:00 GMT-0800 (Pacific Standard Time)If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toString".
- 
TOLOCALESTRINGDefault native browser 'toLocaleString()' implementation. May vary by browser. Example:Friday, November 04, 2005 11:03:00 AMIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toLocaleString".
- 
TOUSSHORTDATEShort date in format MM/DD/YYYY.
 Example:11/4/2005If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toUSShortDate".
- 
TOUSSHORTDATETIMEShort date with time in format MM/DD/YYYY HH:MM
 Example:11/4/2005 11:03If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toUSShortDatetime".
- 
TOEUROPEANSHORTDATEShort date in format DD/MM/YYYY.
 Example:4/11/2005If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toEuropeanShortDate".
- 
TOEUROPEANSHORTDATETIMEShort date with time in format DD/MM/YYYY HH:MM
 Example:4/11/2005 11:03If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toEuropeanShortDatetime".
- 
TOJAPANSHORTDATEShort date in format YYYY/MM/DD.
 Example:2005/11/4If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toJapanShortDate".
- 
TOJAPANSHORTDATETIMEShort date with time in format YYYY/MM/DD HH:MM
 Example:2005/11/4 11:03If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toJapanShortDatetime".
- 
TOSERIALIZEABLEDATEDate in the format YYYY-MM-DD HH:MM:SS
 Example:2005-11-04 11:09:15If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toSerializeableDate".
- 
TODATESTAMPDate in the format <YYYYMMDD>T<HHMMSS>Z Example:20051104T111001ZNote: In addition to these standard formats, custom formatting can be set by passing a function directly to DateUtil.setNormalDisplayFormat()et al. This function will then be executed whenever the appropriate formatter method is called [egDate.toNormalDate()], in the scope of the date instance in question.If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "toDateStamp".
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getValue
 
-