IntlDateFormatter::create()

static IntlDateFormatter create(string $locale, int $datetype, int $timetype, string $timezone = null, int $calendar = self::GREGORIAN, string $pattern = null) Static constructor. Parameters string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en") int $datetype Type of date formatting, one of the format type constants int $timetype Type of time formatting, one of the format type constants string $timezo

IntlDateFormatter

class IntlDateFormatter Replacement for PHP's native {@link \IntlDateFormatter} class. The only methods currently supported in this class are: {@link __construct} {@link create} {@link format} {@link getCalendar} {@link getDateType} {@link getErrorCode} {@link getErrorMessage} {@link getLocale} {@link getPattern} {@link getTimeType} {@link getTimeZoneId} {@link isLenient} {@link parse} {@link setLenient} {@link setPattern} {@link setTimeZoneId} {@link setTimeZone} Constants NONE FULL

IntlBundleReader

class IntlBundleReader implements BundleReaderInterface Reads binary .res resource bundles. Methods mixed read(string $path, string $locale) Reads a resource bundle. Details mixed read(string $path, string $locale) Reads a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to read. Return Value mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.

Intl::isExtensionLoaded()

static bool isExtensionLoaded() Returns whether the intl extension is installed. Return Value bool Returns true if the intl extension is installed, false otherwise

Intl::getRegionBundle()

static RegionBundleInterface getRegionBundle() Returns the bundle containing region information. Return Value RegionBundleInterface The region resource bundle

Intl::getLocaleBundle()

static LocaleBundleInterface getLocaleBundle() Returns the bundle containing locale information. Return Value LocaleBundleInterface The locale resource bundle

Intl::getLanguageBundle()

static LanguageBundleInterface getLanguageBundle() Returns the bundle containing language information. Return Value LanguageBundleInterface The language resource bundle

Intl::getIcuVersion()

static null|string getIcuVersion() Returns the version of the installed ICU library. Return Value null|string The ICU version or NULL if it could not be determined

Intl::getIcuStubVersion()

static string getIcuStubVersion() Returns the ICU version that the stub classes mimic. Return Value string The ICU version of the stub classes

Intl::getIcuDataVersion()

static string getIcuDataVersion() Returns the version of the installed ICU data. Return Value string The version of the installed ICU data