Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: i18n ::

constants group KNumberFormatUsage
Description
Category of number format code.

Constants
DATE Date format, for example, "YYYY-MM-DD". 
TIME Time format, for example, "HH:MM:SS". 
DATE_TIME Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS". 
FIXED_NUMBER Numeric format, for example, "#,##0.00". 
FRACTION_NUMBER Fractional format, for example, "# ??/??". 
PERCENT_NUMBER Percent format, for example, "0.00%". 
SCIENTIFIC_NUMBER Scientific format, for example, "0.00E+00". 
CURRENCY Currency format, for example, "#,##0.00 [$EUR]" 
Constants' Details
DATE
const short DATE = 1;
Description
Date format, for example, "YYYY-MM-DD".
TIME
const short TIME = 2;
Description
Time format, for example, "HH:MM:SS".
DATE_TIME
const short DATE_TIME = 3;
Description
Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS".
FIXED_NUMBER
const short FIXED_NUMBER = 4;
Description
Numeric format, for example, "#,##0.00".
FRACTION_NUMBER
const short FRACTION_NUMBER = 5;
Description
Fractional format, for example, "# ??/??".
PERCENT_NUMBER
const short PERCENT_NUMBER = 6;
Description
Percent format, for example, "0.00%".
SCIENTIFIC_NUMBER
const short SCIENTIFIC_NUMBER = 7;
Description
Scientific format, for example, "0.00E+00".
CURRENCY
const short CURRENCY = 8;
Description
Currency format, for example, "#,##0.00 [$EUR]"
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.