org.eclipse.birt.chart.model.attribute
Interface JavaDateFormatSpecifier

All Superinterfaces:
org.eclipse.emf.ecore.EObject, FormatSpecifier, 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'. This type holds the java pattern for DateFormat.

The following features are supported:

See Also:
AttributePackage.getJavaDateFormatSpecifier()

Method Summary
 JavaDateFormatSpecifier copyInstance()
          A convenient method to get an instance copy.
 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 Java date format pattern NOTE: Manually written
 java.lang.String getPattern()
          Returns the value of the 'Pattern' attribute.
 void setPattern(java.lang.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, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getPattern

java.lang.String getPattern()
Returns the value of the 'Pattern' attribute. Specifies the format pattern.

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

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()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().

Specified by:
copyInstance in interface FormatSpecifier


Copyright © 2005-2008 Actuate Corp. All rights reserved.