ICU-9508 Uncomment old CurrencyInfo constructor. Add test confirming its presence.

X-SVN-Rev: 33057
This commit is contained in:
Travis Keep 2013-01-16 21:22:11 +00:00
parent 1df7ed7891
commit 3eafd4cf29
2 changed files with 5 additions and 3 deletions

View File

@ -458,12 +458,10 @@ public class CurrencyMetaInfo {
* @param to end date in milliseconds. This is one second before midnight at the end of the last day on which the currency was used, GMT.
* @param priority priority value, 0 is highest priority, increasing values are lower
* @stable ICU 4.4
*/
/*
*/
public CurrencyInfo(String region, String code, long from, long to, int priority) {
this(region, code, from, to, priority, true);
}
*/
/**
* Constructs a currency info.

View File

@ -725,4 +725,8 @@ public class CurrencyTest extends TestFmwk {
assertEquals("getDisplayName() for " + data[0] + " in locale " + root, data[0], cur.getDisplayName(root));
}
}
public void TestCurrencyInfoCtor() {
new CurrencyMetaInfo.CurrencyInfo("region", "code", 0, 0, 1);
}
}