public class IlvDateValueFormat extends Object implements IlvValueFormat
IlvDateValueFormat
formats date values into strings.Constructor and Description |
---|
IlvDateValueFormat()
Creates a new
IlvDataValueFormat will format dates values
in short date and time style in the current locale. |
IlvDateValueFormat(DateFormat dateFormat)
Creates a new
IlvDataValueFormat that will use the specified
data formatter. |
IlvDateValueFormat(Locale locale)
Deprecated.
This method ignores the calendar specification in the
ULocale . Please use |
IlvDateValueFormat(ULocale locale)
Creates a new
IlvDataValueFormat will format dates values
in short date and time style in the given locale. |
Modifier and Type | Method and Description |
---|---|
String |
formatValue(double value)
Formats the specified date value.
|
public IlvDateValueFormat(DateFormat dateFormat)
IlvDataValueFormat
that will use the specified
data formatter.dateFormat
- The date formatter.public IlvDateValueFormat()
IlvDataValueFormat
will format dates values
in short date and time style in the current locale.@Deprecated public IlvDateValueFormat(Locale locale)
ULocale
. Please useIlvDataValueFormat
will format dates values
in short date and time style in the given locale.locale
- A locale.public IlvDateValueFormat(ULocale locale)
IlvDataValueFormat
will format dates values
in short date and time style in the given locale.locale
- A locale.public String formatValue(double value)
formatValue
in interface IlvValueFormat
value
- The date value, in milliseconds since
January 1, 1970, 00:00:00 GMT.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.