#include "unicode/unistr.h"
#include "unicode/unum.h"
#include "unicode/ures.h"
+#include "unicode/ustring.h"
#include "ureslocs.h"
#include "uresimp.h"
#include "ustr_imp.h"
mfWidth = UMEASFMT_WIDTH_SHORT; break;
case UATIMEUNITSTYLE_NARROW:
mfWidth = UMEASFMT_WIDTH_NARROW; break;
+ case UATIMEUNITSTYLE_SHORTER:
+ mfWidth = UMEASFMT_WIDTH_SHORTER; break;
default:
*status = U_ILLEGAL_ARGUMENT_ERROR; return NULL;
}
case UATIMEUNITSTYLE_FULL: { styleKey = "unit"; break; }
case UATIMEUNITSTYLE_ABBREVIATED: { styleKey = "unit-short"; break; }
case UATIMEUNITSTYLE_NARROW: { styleKey = "unit-narrow"; break; }
+ case UATIMEUNITSTYLE_SHORTER: { styleKey = "unit-narrow"; break; }
default: { *status = U_ILLEGAL_ARGUMENT_ERROR; return 0; }
}
const char* typeKey = NULL;