|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DateFormatSpecifier
A representation of the model object 'Date Format Specifier'. DateFormatSpecifier extends the type FormatSpecifier to devote itself to formating text output of a date/time value.
The following features are supported:
AttributePackage.getDateFormatSpecifier()
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |