ICU-4885 Make DtContextType and DtWidthType zero based enums

X-SVN-Rev: 18720
This commit is contained in:
John Emmons 2005-10-26 19:36:06 +00:00
parent a9a7739272
commit 2e08b8b27f

View File

@ -244,35 +244,25 @@ public:
*/ */
void setShortMonths(const UnicodeString* shortMonths, int32_t count); void setShortMonths(const UnicodeString* shortMonths, int32_t count);
/**
* Selector for date formatting context
* @draft ICU 3.6
*/
enum DtContextType { enum DtContextType {
/** FORMAT,
* Selector for format date context STANDALONE,
* @draft ICU 3.4 DT_CONTEXT_COUNT
*/
FORMAT = 0,
/**
* Selector for standalone date context
* @draft ICU 3.4
*/
STANDALONE = 1
}; };
/**
* Selector for date formatting width
* @draft ICU 3.6
*/
enum DtWidthType { enum DtWidthType {
/** ABBREVIATED,
* Selector for wide strings WIDE,
* @draft ICU 3.4 NARROW,
*/ DT_WIDTH_COUNT
WIDE = 4,
/**
* Selector for abbreviated strings
* @draft ICU 3.4
*/
ABBREVIATED = 3,
/**
* Selector for narrow strings
* @draft ICU 3.4
*/
NARROW = 5
}; };
/** /**