Interface JavaDateFormatSpecifier
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,FormatSpecifier
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
JavaDateFormatSpecifierImpl
public interface JavaDateFormatSpecifier extends FormatSpecifier
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description JavaDateFormatSpecifier
copyInstance()
java.lang.String
format(com.ibm.icu.util.Calendar c, com.ibm.icu.util.ULocale lcl)
Formats a calendar value using the Java date format pattern NOTE: Manually writtenjava.lang.String
format(com.ibm.icu.util.Calendar c, java.util.Locale lcl)
Deprecated.java.lang.String
getPattern()
Returns the value of the 'Pattern' attribute.void
setPattern(java.lang.String value)
Sets the value of the 'Pattern
' attribute.
-
-
-
Method Detail
-
getPattern
java.lang.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(String)
,AttributePackage.getJavaDateFormatSpecifier_Pattern()
-
setPattern
void setPattern(java.lang.String value)
Sets the value of the 'Pattern
' attribute.- Parameters:
value
- the new value of the 'Pattern' attribute.- See Also:
getPattern()
-
format
@Deprecated java.lang.String format(com.ibm.icu.util.Calendar c, java.util.Locale lcl)
Deprecated.Formats a calendar value using the Java date format pattern NOTE: Manually written- Parameters:
c
-lcl
-
-
format
java.lang.String format(com.ibm.icu.util.Calendar c, com.ibm.icu.util.ULocale lcl)
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
-
-