public interface DateFormatSpecifier extends FormatSpecifier
The following features are supported:
Modifier and Type | Method and Description |
---|---|
DateFormatSpecifier |
copyInstance() |
java.lang.String |
format(com.ibm.icu.util.Calendar c,
java.util.Locale lcl)
Deprecated.
|
java.lang.String |
format(com.ibm.icu.util.Calendar c,
com.ibm.icu.util.ULocale lcl)
Formats a calendar value using the date format pattern
NOTE: Manually written
|
DateFormatDetail |
getDetail()
Returns the value of the 'Detail' attribute.
|
DateFormatType |
getType()
Returns the value of the 'Type' attribute.
|
boolean |
isSetDetail()
Returns whether the value of the '
Detail ' attribute is set. |
boolean |
isSetType()
Returns whether the value of the '
Type ' attribute is set. |
void |
setDetail(DateFormatDetail value)
Sets the value of the '
Detail ' attribute. |
void |
setType(DateFormatType value)
Sets the value of the '
Type ' attribute. |
void |
unsetDetail()
Unsets the value of the '
Detail ' attribute. |
void |
unsetType()
Unsets the value of the '
Type ' attribute. |
DateFormatType getType()
"Long"
. The
literals are from the enumeration DateFormatType
.
Defines the format specifier.
DateFormatType
,
isSetType()
,
unsetType()
,
setType(DateFormatType)
,
AttributePackage.getDateFormatSpecifier_Type()
void setType(DateFormatType value)
Type
' attribute.
value
- the new value of the 'Type' attribute.DateFormatType
,
isSetType()
,
unsetType()
,
getType()
void unsetType()
Type
' attribute. isSetType()
,
getType()
,
setType(DateFormatType)
boolean isSetType()
Type
' attribute is set. unsetType()
,
getType()
,
setType(DateFormatType)
DateFormatDetail getDetail()
"Date"
.
The literals are from the enumeration DateFormatDetail
.
Species the form of the date.
DateFormatDetail
,
isSetDetail()
,
unsetDetail()
,
setDetail(DateFormatDetail)
,
AttributePackage.getDateFormatSpecifier_Detail()
void setDetail(DateFormatDetail value)
Detail
' attribute. value
- the new value of the 'Detail' attribute.DateFormatDetail
,
isSetDetail()
,
unsetDetail()
,
getDetail()
void unsetDetail()
Detail
' attribute. isSetDetail()
,
getDetail()
,
setDetail(DateFormatDetail)
boolean isSetDetail()
Detail
' attribute is set.
unsetDetail()
,
getDetail()
,
setDetail(DateFormatDetail)
java.lang.String format(com.ibm.icu.util.Calendar c, java.util.Locale lcl)
c
- lcl
- java.lang.String format(com.ibm.icu.util.Calendar c, com.ibm.icu.util.ULocale lcl)
c
- lcl
- DateFormatSpecifier copyInstance()
copyInstance
in interface FormatSpecifier
copyInstance
in interface IChartObject
Copyright © 2005-2008 Actuate Corp. All rights reserved.