#include "unicode/ures.h"
#include "unicode/uloc.h"
#include "unicode/uset.h"
Go to the source code of this file.
Typedefs | |
typedef enum UMeasurementSystem | UMeasurementSystem |
Enumeration for representing the measurement systems. More... | |
Enumerations | |
enum | UMeasurementSystem { UMS_SI, UMS_US, UMS_LIMIT } |
Enumeration for representing the measurement systems. More... | |
Functions | |
USet * | ulocdata_getExemplarSet (USet *fillIn, const char *localeID, UErrorCode *status) |
Fills the set with the set of exemplar characters for the locale and returns the set. More... | |
UMeasurementSystem | ulocdata_getMeasurementSystem (const char *localeID, UErrorCode *status) |
Returns the measurement system used in the locale specified by the localeID. More... | |
void | ulocdata_getPaperSize (const char *localeID, int32_t *height, int32_t *width, UErrorCode *status) |
Returns the element gives the normal business letter size, and customary units. More... |
|
Enumeration for representing the measurement systems.
|
|
Enumeration for representing the measurement systems.
Definition at line 49 of file ulocdata.h. |
|
Fills the set with the set of exemplar characters for the locale and returns the set.
|
|
Returns the measurement system used in the locale specified by the localeID.
|
|
Returns the element gives the normal business letter size, and customary units. The units for the numbers are always in milli-meters. For US since 8.5 and 11 do not yeild an integral value when converted to milli-meters, the values are rounded off. So for A4 size paper the height and width are 297 mm and 210 mm repectively, and for US letter size the height and width are 279 mm and 216 mm respectively.
|