|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.valuetypes.format.MdmDateTimeFormatInfo
Date/time format definition
| Field Summary | |
static String |
DEFAULT_DATE_PATTERN
|
static String |
DEFAULT_DATE_TIME_PATTERN
|
static String |
DEFAULT_TIME_PATTERN
|
| Fields inherited from interface com.sap.mdm.valuetypes.format.MdmFormatInfo |
CURRANCY_FORMAT_TYPE, DATE_TIME_FORMAT_TYPE, MEASUREMENT_FORMAT_TYPE, NUMBER_FORMAT_TYPE |
| Constructor Summary | |
MdmDateTimeFormatInfo()
Empty constructor |
|
MdmDateTimeFormatInfo(Locale locale)
Constructor |
|
MdmDateTimeFormatInfo(MdmDateTimeFormatInfo other)
Copy constructor |
|
| Method Summary | |
int |
getDateStyle()
Returns style of date format |
String |
getFormatPattern()
Returns date/time format pattern |
int |
getFormatType()
Returns the format type (Date, Time, Date/Time) |
Locale |
getLocale()
Returns the locale |
int |
getTimeStyle()
Returns style of time format |
int |
getType()
Returns type of format info |
void |
setDateStyle(int dateStyle)
Sets the style of date format |
void |
setFormatPattern(String formatPattern)
Sets date/time format pattern. |
void |
setFormatType(int formatType)
Sets the format type |
void |
setLocale(Locale locale)
Sets the locale |
void |
setTimeStyle(int timeStyle)
Sets the style of time format |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DEFAULT_DATE_PATTERN
public static final String DEFAULT_TIME_PATTERN
public static final String DEFAULT_DATE_TIME_PATTERN
| Constructor Detail |
public MdmDateTimeFormatInfo()
public MdmDateTimeFormatInfo(Locale locale)
locale - public MdmDateTimeFormatInfo(MdmDateTimeFormatInfo other)
| Method Detail |
public int getType()
MdmFormatInfo
getType in interface MdmFormatInfopublic int getDateStyle()
for possible valuespublic void setDateStyle(int dateStyle)
dateStyle - the style of date formatfor possible valuespublic int getTimeStyle()
for possible valuespublic void setTimeStyle(int timeStyle)
timeStyle - the style of time formatfor possible valuespublic String getFormatPattern()
public void setFormatPattern(String formatPattern)
formatPattern - the format pattern to setpublic Locale getLocale()
public void setLocale(Locale locale)
locale - the locale to setpublic int getFormatType()
for possible valuespublic void setFormatType(int formatType)
formatType - the format type to setfor possible values
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.