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 conversionUFMT_DOUBLE
ufmt_getDouble
will return without conversionUFMT_LONG
ufmt_getLong
will return without conversionUFMT_STRING
ufmt_getUChars
will return without conversionUFMT_ARRAY
UFMT_INT64
ufmt_getInt64
will return without conversionUFMT_OBJECT
ufmt_getObject
will return without conversion
- alias
UFormattable
= void*; - UFormattable*
ufmt_open_74
(UErrorCode* status); - void
ufmt_close_74
(UFormattable* fmt); - UFormattableType
ufmt_getType_74
(const(UFormattable)* fmt, UErrorCode* status); - UBool
ufmt_isNumeric_74
(const(UFormattable)* fmt); - UDate
ufmt_getDate_74
(const(UFormattable)* fmt, UErrorCode* status); - double
ufmt_getDouble_74
(UFormattable* fmt, UErrorCode* status); - int
ufmt_getLong_74
(UFormattable* fmt, UErrorCode* status); - long
ufmt_getInt64_74
(UFormattable* fmt, UErrorCode* status); - const(void)*
ufmt_getObject_74
(const(UFormattable)* fmt, UErrorCode* status); - const(UChar)*
ufmt_getUChars_74
(UFormattable* fmt, int* len, UErrorCode* status); - int
ufmt_getArrayLength_74
(const(UFormattable)* fmt, UErrorCode* status); - UFormattable*
ufmt_getArrayItemByIndex_74
(UFormattable* fmt, int n, UErrorCode* status); - const(char)*
ufmt_getDecNumChars_74
(UFormattable* fmt, int* len, UErrorCode* status);