Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: i18n ::
unpublished | interface XOrdinalSuffix |
Usage Restrictions not published Description provides access to locale specific ordinal suffix systems. Since OOo 2.2 @internal ATTENTION: This interface is marked internal and does not have the published flag, which means it is subject to change without notice and should not be used outside the OOo core.

Methods' Summary
getOrdinalSuffix | Returns all the possible ordinal suffixes for the number. This method will provide "st", "nd", "rd", "th" for an English locale, depending on the provided number. In some locales like French, Italian or Spanish it ca return several suffixes for one number. Examples: for the number '1', the values will be st in English, but er and re in French. All these values may depend on the underlying version of ICU.

Methods' Details
getOrdinalSuffix
sequence< string >
getOrdinalSuffix( | [in] long | nNumber,
| [in] ::com::sun::star::lang::Locale | aLocale );
Description Returns all the possible ordinal suffixes for the number. This method will provide "st", "nd", "rd", "th" for an English locale, depending on the provided number. In some locales like French, Italian or Spanish it ca return several suffixes for one number. Examples: for the number '1', the values will be st in English, but er and re in French. All these values may depend on the underlying version of ICU.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.