Interface JavaDateFormatSpecifier
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,FormatSpecifier
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
JavaDateFormatSpecifierImpl
A representation of the model object 'Java
Date Format Specifier'.
JavaDateFormatSpecifier extends FormatSpecifier
specialized to represent a java DateFormat instance.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionformat
(com.ibm.icu.util.Calendar c, com.ibm.icu.util.ULocale lcl) Formats a calendar value using the Java date format pattern NOTE: Manually writtenDeprecated.Returns the value of the 'Pattern' attribute.void
setPattern
(String value) Sets the value of the 'Pattern
' 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 Details
-
getPattern
String getPattern()Returns the value of the 'Pattern' attribute. Attribute "Pattern" specifies the pattern string used for establishing a DateFormat instance.- Returns:
- the value of the 'Pattern' attribute.
- See Also:
-
setPattern
Sets the value of the 'Pattern
' attribute.- Parameters:
value
- the new value of the 'Pattern' attribute.- See Also:
-
format
Deprecated.Formats a calendar value using the Java date format pattern NOTE: Manually written- Parameters:
c
-lcl
-
-
format
Formats a calendar value using the Java date format pattern NOTE: Manually written- Parameters:
c
-lcl
-- Since:
- 2.1
-
copyInstance
JavaDateFormatSpecifier copyInstance()- Specified by:
copyInstance
in interfaceFormatSpecifier
- Specified by:
copyInstance
in interfaceIChartObject
-