:: 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