You are here

public static function DatexObject::hasINTL in Datex 7.2

Determines wether PECL package PHP-Intl is available or not.

1 call to DatexObject::hasINTL()
DatexObject::setUseINTL in datex_api/datex_api.class.inc
Set whether to use PHP-Intl or not.

File

datex_api/datex_api.class.inc, line 192
Provides an API to work with dates.

Class

DatexObject
Base class for localized DateTime.

Code

public static function hasINTL() {
  return class_exists('IntlDateFormatter');
}