mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
********************************************************************************
|
||||
|
|
@ -33,17 +33,11 @@
|
|||
U_NAMESPACE_BEGIN
|
||||
|
||||
class CharString;
|
||||
class DigitList;
|
||||
|
||||
/**
|
||||
* \def UNUM_INTERNAL_STACKARRAY_SIZE
|
||||
* @internal
|
||||
*/
|
||||
#if U_PLATFORM == U_PF_OS400
|
||||
#define UNUM_INTERNAL_STACKARRAY_SIZE 144
|
||||
#else
|
||||
#define UNUM_INTERNAL_STACKARRAY_SIZE 128
|
||||
#endif
|
||||
namespace number {
|
||||
namespace impl {
|
||||
class DecimalQuantity;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Formattable objects can be passed to the Format class or
|
||||
|
|
@ -649,24 +643,25 @@ public:
|
|||
* Internal function, do not use.
|
||||
* TODO: figure out how to make this be non-public.
|
||||
* NumberFormat::format(Formattable, ...
|
||||
* needs to get at the DigitList, if it exists, for
|
||||
* needs to get at the DecimalQuantity, if it exists, for
|
||||
* big decimal formatting.
|
||||
* @internal
|
||||
*/
|
||||
DigitList *getDigitList() const { return fDecimalNum;}
|
||||
number::impl::DecimalQuantity *getDecimalQuantity() const { return fDecimalQuantity;}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* Export the value of this Formattable to a DecimalQuantity.
|
||||
* @internal
|
||||
*/
|
||||
DigitList *getInternalDigitList();
|
||||
void populateDecimalQuantity(number::impl::DecimalQuantity& output, UErrorCode& status) const;
|
||||
|
||||
/**
|
||||
* Adopt, and set value from, a DigitList
|
||||
* Adopt, and set value from, a DecimalQuantity
|
||||
* Internal Function, do not use.
|
||||
* @param dl the Digit List to be adopted
|
||||
* @param dq the DecimalQuantity to be adopted
|
||||
* @internal
|
||||
*/
|
||||
void adoptDigitList(DigitList *dl);
|
||||
void adoptDecimalQuantity(number::impl::DecimalQuantity *dq);
|
||||
|
||||
/**
|
||||
* Internal function to return the CharString pointer.
|
||||
|
|
@ -706,9 +701,7 @@ private:
|
|||
|
||||
CharString *fDecimalStr;
|
||||
|
||||
DigitList *fDecimalNum;
|
||||
|
||||
char fStackData[UNUM_INTERNAL_STACKARRAY_SIZE]; // must be big enough for DigitList
|
||||
number::impl::DecimalQuantity *fDecimalQuantity;
|
||||
|
||||
Type fType;
|
||||
UnicodeString fBogus; // Bogus string when it's needed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue