Skip to content

API reference

The API reference is per language, and each one is generated directly from that port's source — so the signatures, parameter types, return types, and notes are always exactly what the code documents. Pick your language:

  • JavaScript / TypeScript →


    Generated with TypeDoc from the TypeScript sources.

  • Java →


    Generated with Javadoc from the ICU4J-backed sources.

  • PHP →


    Generated with phpDocumentor from the ext-intl sources.

  • Python →


    Generated with pdoc from the PyICU-backed sources.

For runnable, cross-language examples, see the Guide (every snippet is shown in all four languages). For a side-by-side view of what works where and the ICU machinery behind it, see Feature parity.