public interface DateFormatSpecifier extends FormatSpecifier
The following features are supported:
| 限定符和类型 | 方法和说明 |
|---|---|
DateFormatSpecifier |
copyInstance() |
java.lang.String |
format(com.ibm.icu.util.Calendar c,
java.util.Locale lcl)
已过时。
|
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. 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. 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 在接口中 FormatSpecifiercopyInstance 在接口中 IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.