bindbc.icu.bindings.uformattable

uformattable.h
C API: UFormattable is a thin wrapper for primitive types used for formatting and parsing.
License: BSL-1.0.
enum UFormattableType: int;
UFMT_DATE
ufmt_getDate will return without conversion
UFMT_DOUBLE
ufmt_getDouble will return without conversion
UFMT_LONG
ufmt_getLong will return without conversion
UFMT_STRING
ufmt_getUChars will return without conversion
UFMT_ARRAY
ufmt_countArray and ufmt_getArray will return the value. See also: ufmt_getArrayItemByIndex
UFMT_INT64
ufmt_getInt64 will return without conversion
UFMT_OBJECT
ufmt_getObject will return without conversion
alias UFormattable = void*;
UFormattable* ufmt_open_70(UErrorCode* status);
void ufmt_close_70(UFormattable* fmt);
UFormattableType ufmt_getType_70(const(UFormattable)* fmt, UErrorCode* status);
UBool ufmt_isNumeric_70(const(UFormattable)* fmt);
UDate ufmt_getDate_70(const(UFormattable)* fmt, UErrorCode* status);
double ufmt_getDouble_70(UFormattable* fmt, UErrorCode* status);
int ufmt_getLong_70(UFormattable* fmt, UErrorCode* status);
long ufmt_getInt64_70(UFormattable* fmt, UErrorCode* status);
const(void)* ufmt_getObject_70(const(UFormattable)* fmt, UErrorCode* status);
const(UChar)* ufmt_getUChars_70(UFormattable* fmt, int* len, UErrorCode* status);
int ufmt_getArrayLength_70(const(UFormattable)* fmt, UErrorCode* status);
UFormattable* ufmt_getArrayItemByIndex_70(UFormattable* fmt, int n, UErrorCode* status);
const(char)* ufmt_getDecNumChars_70(UFormattable* fmt, int* len, UErrorCode* status);