27 #if !UCONFIG_NO_FORMATTING
100 #if !UCONFIG_NO_CONVERSION
265 Type getType(
void)
const;
273 UBool isNumeric()
const;
303 int32_t
getLong(
void)
const {
return (int32_t)fValue.fInt64; }
329 int64_t
getInt64(
void)
const {
return fValue.fInt64; }
374 { result=*fValue.fString;
return result; }
432 { count=fValue.fArrayAndCount.fCount;
return fValue.fArrayAndCount.fArray; }
461 const UObject* getObject()
const;
489 void setDouble(
double d);
497 void setLong(int32_t l);
505 void setInt64(int64_t ll);
513 void setDate(
UDate d);
530 void setArray(
const Formattable* array, int32_t count);
545 void adoptArray(
Formattable* array, int32_t count);
554 void adoptObject(
UObject* objectToAdopt);
570 void setDecimalNumber(
const StringPiece &numberString,
585 static UClassID U_EXPORT2 getStaticClassID();
587 #ifndef U_HIDE_DEPRECATED_API
594 inline int32_t getLong(
UErrorCode* status)
const;
597 #ifndef U_HIDE_INTERNAL_API
614 void adoptDigitList(DigitList *dl);
643 CharString *fDecimalStr;
644 DigitList *fDecimalNum;
651 if (fType !=
kDate) {
661 return *fValue.fString;
665 return *fValue.fString;
668 #ifndef U_HIDE_DEPRECATED_API