Lines Matching refs:DecimalQuantity
33 class U_I18N_API DecimalQuantity : public IFixedDecimal, public UMemory {
36 DecimalQuantity(const DecimalQuantity &other);
39 DecimalQuantity(DecimalQuantity &&src) U_NOEXCEPT;
41 DecimalQuantity();
43 ~DecimalQuantity() override;
50 DecimalQuantity &operator=(const DecimalQuantity &other);
53 DecimalQuantity &operator=(DecimalQuantity&& src) U_NOEXCEPT;
166 DecimalQuantity &setToInt(int32_t n);
168 DecimalQuantity &setToLong(int64_t n);
170 DecimalQuantity &setToDouble(double n);
173 DecimalQuantity &setToDecNumber(StringPiece n, UErrorCode& status);
176 DecimalQuantity &setToDecNum(const DecNum& n, UErrorCode& status);
265 bool operator==(const DecimalQuantity& other) const;
267 inline bool operator!=(const DecimalQuantity& other) const {
441 void copyFieldsFrom(const DecimalQuantity& other);
443 void copyBcdFrom(const DecimalQuantity &other);
445 void moveBcdFrom(DecimalQuantity& src);