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

interface XOrdinalSuffix

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