Lines Matching refs:formatInt
2299 UnicodeString actual = NumberFormatter::withLocale(Locale::getFrench()).formatInt(1234, status) in locale()
2418 fmtd = NumberFormatter::withLocale("en").formatInt(5, status); in fieldPositionLogic()
2732 FormattedNumber fn = lnf.formatInt(1, status); in errors()
2881 assertEquals("Initial behavior", u"10", l1.formatInt(10, status).toString(status), true); in copyMove()
2888 assertEquals("Initial behavior", u"10%", l1.formatInt(10, status).toString(status)); in copyMove()
2891 l1.formatInt(123, status); in copyMove()
2894 l1.formatInt(123, status); in copyMove()
2895 assertEquals("Compiled", u"10%", l1.formatInt(10, status).toString(status)); in copyMove()
2901 assertEquals("[constructor] Copy behavior", u"10%", l2.formatInt(10, status).toString(status)); in copyMove()
2907 assertEquals("[constructor] Move behavior", u"10%", l3.formatInt(10, status).toString(status)); in copyMove()
2916 l1.formatInt(1, status); in copyMove()
2917 l1.formatInt(1, status); in copyMove()
2918 l1.formatInt(1, status); in copyMove()
2920 l2.formatInt(1, status); in copyMove()
2921 l2.formatInt(1, status); in copyMove()
2922 l2.formatInt(1, status); in copyMove()
2926 assertEquals("[assignment] Copy behavior", u"10%", l1.formatInt(10, status).toString(status)); in copyMove()
2932 assertEquals("[assignment] Move behavior", u"10%", l2.formatInt(10, status).toString(status)); in copyMove()
2940 assertEquals("Default behavior", u"10", u1.locale("en").formatInt(10, status).toString(status)); in copyMove()
2942 assertEquals("Copy assignment", u"10%", u1.locale("en").formatInt(10, status).toString(status)); in copyMove()
2944 … assertEquals("Copy constructor", u"10%", u2.locale("en").formatInt(10, status).toString(status)); in copyMove()
2946 … assertEquals("Move constructor", u"10%", u3.locale("en").formatInt(10, status).toString(status)); in copyMove()
2949 assertEquals("Move assignment", u"10%", u1.locale("en").formatInt(10, status).toString(status)); in copyMove()
2952 FormattedNumber result = l1.formatInt(10, status); in copyMove()
2954 result = l1.formatInt(20, status); in copyMove()