|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Date Format Specifier'. This type holds the format specifier properties for a date label.
The following features are supported:
AttributePackage.getDateFormatSpecifier()
Method Summary | |
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public DateFormatType getType()
"Long"
. The
literals are from the enumeration DateFormatType
.
Defines the format specifier.
DateFormatType
,
isSetType()
,
unsetType()
,
setType(DateFormatType)
,
AttributePackage.getDateFormatSpecifier_Type()
public void setType(DateFormatType value)
Type
' attribute.
value
- the new value of the 'Type' attribute.DateFormatType
,
isSetType()
,
unsetType()
,
getType()
public void unsetType()
Type
' attribute.
isSetType()
,
getType()
,
setType(DateFormatType)
public boolean isSetType()
Type
' attribute is set.
unsetType()
,
getType()
,
setType(DateFormatType)
public DateFormatDetail getDetail()
"Date"
.
The literals are from the enumeration DateFormatDetail
.
Species the form of the date.
DateFormatDetail
,
isSetDetail()
,
unsetDetail()
,
setDetail(DateFormatDetail)
,
AttributePackage.getDateFormatSpecifier_Detail()
public void setDetail(DateFormatDetail value)
Detail
' attribute.
value
- the new value of the 'Detail' attribute.DateFormatDetail
,
isSetDetail()
,
unsetDetail()
,
getDetail()
public void unsetDetail()
Detail
' attribute.
isSetDetail()
,
getDetail()
,
setDetail(DateFormatDetail)
public boolean isSetDetail()
Detail
' attribute is set.
unsetDetail()
,
getDetail()
,
setDetail(DateFormatDetail)
public java.lang.String format(com.ibm.icu.util.Calendar c, java.util.Locale lcl)
c
- lcl
- public java.lang.String format(com.ibm.icu.util.Calendar c, com.ibm.icu.util.ULocale lcl)
c
- lcl
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |