Index: source/i18n/unicode/measunit.h |
diff --git a/source/i18n/unicode/measunit.h b/source/i18n/unicode/measunit.h |
index 196832f60cfc16c5d2526d8298a48ecdcf67e1ba..dc7c9703d03b511b14e91dea336ec7807ede05e8 100644 |
--- a/source/i18n/unicode/measunit.h |
+++ b/source/i18n/unicode/measunit.h |
@@ -185,6 +185,14 @@ class U_I18N_API MeasureUnit: public UObject { |
/** |
* ICU use only. |
+ * @return the unit.getIndex() of the unit which has this unit.getType() and unit.getSubtype(), |
+ * or a negative value if there is no such unit |
+ * @internal |
+ */ |
+ static int32_t internalGetIndexForTypeAndSubtype(const char *type, const char *subtype); |
+ |
+ /** |
+ * ICU use only. |
* @internal |
*/ |
static MeasureUnit *resolveUnitPerUnit( |