(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.