国際化関数目次
Collator クラスはじめに各ロケール固有の並び順を考慮した文字列の比較機能を提供します。 クラス概要
Collator
/* 定数 */
const
int
Collator::DEFAULT_VALUE;
const
int
Collator::PRIMARY;
const
int
Collator::SECONDARY;
const
int
Collator::TERTIARY;
const
int
Collator::DEFAULT_STRENGTH;
const
int
Collator::QUATERNARY;
const
int
Collator::IDENTICAL;
const
int
Collator::OFF;
const
int
Collator::ON;
const
int
Collator::SHIFTED;
const
int
Collator::NON_IGNORABLE;
const
int
Collator::LOWER_FIRST;
const
int
Collator::UPPER_FIRST;
const
int
Collator::FRENCH_COLLATION;
const
int
Collator::ALTERNATE_HANDLING;
const
int
Collator::CASE_FIRST;
const
int
Collator::CASE_LEVEL;
const
int
Collator::NORMALIZATION_MODE;
const
int
Collator::STRENGTH;
const
int
Collator::HIRAGANA_QUATERNARY_MODE;
const
int
Collator::NUMERIC_COLLATION;
const
int
Collator::SORT_REGULAR;
const
int
Collator::SORT_STRING;
const
int
Collator::SORT_NUMERIC;
/* メソッド */
public __construct(string
$locale )public bool asort(array
&$array , int $flags = Collator::SORT_REGULAR)public intfalse compare(string
$string1 , string $string2 )public static Collatornull create(string
$locale )public intfalse getAttribute(int
$attribute )public intfalse getErrorCode()
public stringfalse getErrorMessage()
public stringfalse getLocale(int
$type )public stringfalse getSortKey(string
$string )public int getStrength()
public bool setAttribute(int
$attribute , int $value )public bool setStrength(int
$strength )public bool sortWithSortKeys(array
&$array )public bool sort(array
&$array , int $flags = Collator::SORT_REGULAR)定義済み定数
NumberFormatter クラスはじめにプログラムで数値を保存したり操作したりする際には、 ロケールに依存しないバイナリ表現を使用します。 数値を表示するときに、ロケールにあわせた文字列形式に変換します。 たとえば 12345.67 という数値の表記はアメリカでは "12,345.67"、 フランスでは "12 345,67"、そしてドイツでは "12.345,67" となります。 NumberFormatter クラスのメソッドを実行すると、 数値や通貨、パーセンテージなどの値をロケールに応じた形式にフォーマットすることができます。 NumberFormatter はロケールを考慮した処理を行うので、 ロケールごとに別の NumberFormatter を用意する必要があります。 NumberFormatter のメソッドは、浮動小数点数値のような数値を ロケールにあわせた文字列に変換します。 通貨の場合は、通貨用の書式を使用してフォーマッタを作成します。 これは、ロケールにあわせて数値を適切な書式にして通貨記号をつけた文字列を返します。 もちろん、NumberFormatter クラスは為替レートの変換などは考慮しません。 指定した通貨にかかわらず、出力される数値は同じものとなります。 つまり、ロケールによって同じ数値が違う額を表すことになるということです。 9988776.65 という数値を指定したときの結果は次のようになります。
パーセンテージをフォーマットするには、 パーセンテージ用の書式を指定したフォーマッタを作成します。 これを使用すると、たとえば 0.75 のような小数が 75% と表示されるようになります。 spelled-out numbers のような複雑な書式を設定する場合は、 ルールベースの数値フォーマッタを使用します。 クラス概要
NumberFormatter
/* 定数 */
public
const
int
NumberFormatter::PATTERN_DECIMAL;
public
const
int
NumberFormatter::DECIMAL;
public
const
int
NumberFormatter::CURRENCY;
public
const
int
NumberFormatter::PERCENT;
public
const
int
NumberFormatter::SCIENTIFIC;
public
const
int
NumberFormatter::SPELLOUT;
public
const
int
NumberFormatter::ORDINAL;
public
const
int
NumberFormatter::DURATION;
public
const
int
NumberFormatter::PATTERN_RULEBASED;
public
const
int
NumberFormatter::IGNORE;
public
const
int
NumberFormatter::CURRENCY_ACCOUNTING;
public
const
int
NumberFormatter::DEFAULT_STYLE;
public
const
int
NumberFormatter::ROUND_CEILING;
public
const
int
NumberFormatter::ROUND_FLOOR;
public
const
int
NumberFormatter::ROUND_DOWN;
public
const
int
NumberFormatter::ROUND_UP;
public
const
int
NumberFormatter::ROUND_HALFEVEN;
public
const
int
NumberFormatter::ROUND_HALFDOWN;
public
const
int
NumberFormatter::ROUND_HALFUP;
public
const
int
NumberFormatter::PAD_BEFORE_PREFIX;
public
const
int
NumberFormatter::PAD_AFTER_PREFIX;
public
const
int
NumberFormatter::PAD_BEFORE_SUFFIX;
public
const
int
NumberFormatter::PAD_AFTER_SUFFIX;
public
const
int
NumberFormatter::PARSE_INT_ONLY;
public
const
int
NumberFormatter::GROUPING_USED;
public
const
int
NumberFormatter::DECIMAL_ALWAYS_SHOWN;
public
const
int
NumberFormatter::MAX_INTEGER_DIGITS;
public
const
int
NumberFormatter::MIN_INTEGER_DIGITS;
public
const
int
NumberFormatter::INTEGER_DIGITS;
public
const
int
NumberFormatter::MAX_FRACTION_DIGITS;
public
const
int
NumberFormatter::MIN_FRACTION_DIGITS;
public
const
int
NumberFormatter::FRACTION_DIGITS;
public
const
int
NumberFormatter::MULTIPLIER;
public
const
int
NumberFormatter::GROUPING_SIZE;
public
const
int
NumberFormatter::ROUNDING_MODE;
public
const
int
NumberFormatter::ROUNDING_INCREMENT;
public
const
int
NumberFormatter::FORMAT_WIDTH;
public
const
int
NumberFormatter::PADDING_POSITION;
public
const
int
NumberFormatter::SECONDARY_GROUPING_SIZE;
public
const
int
NumberFormatter::SIGNIFICANT_DIGITS_USED;
public
const
int
NumberFormatter::MIN_SIGNIFICANT_DIGITS;
public
const
int
NumberFormatter::MAX_SIGNIFICANT_DIGITS;
public
const
int
NumberFormatter::LENIENT_PARSE;
public
const
int
NumberFormatter::POSITIVE_PREFIX;
public
const
int
NumberFormatter::POSITIVE_SUFFIX;
public
const
int
NumberFormatter::NEGATIVE_PREFIX;
public
const
int
NumberFormatter::NEGATIVE_SUFFIX;
public
const
int
NumberFormatter::PADDING_CHARACTER;
public
const
int
NumberFormatter::CURRENCY_CODE;
public
const
int
NumberFormatter::DEFAULT_RULESET;
public
const
int
NumberFormatter::PUBLIC_RULESETS;
public
const
int
NumberFormatter::DECIMAL_SEPARATOR_SYMBOL;
public
const
int
NumberFormatter::GROUPING_SEPARATOR_SYMBOL;
public
const
int
NumberFormatter::PATTERN_SEPARATOR_SYMBOL;
public
const
int
NumberFormatter::PERCENT_SYMBOL;
public
const
int
NumberFormatter::ZERO_DIGIT_SYMBOL;
public
const
int
NumberFormatter::DIGIT_SYMBOL;
public
const
int
NumberFormatter::MINUS_SIGN_SYMBOL;
public
const
int
NumberFormatter::PLUS_SIGN_SYMBOL;
public
const
int
NumberFormatter::CURRENCY_SYMBOL;
public
const
int
NumberFormatter::INTL_CURRENCY_SYMBOL;
public
const
int
NumberFormatter::MONETARY_SEPARATOR_SYMBOL;
public
const
int
NumberFormatter::EXPONENTIAL_SYMBOL;
public
const
int
NumberFormatter::PERMILL_SYMBOL;
public
const
int
NumberFormatter::PAD_ESCAPE_SYMBOL;
public
const
int
NumberFormatter::INFINITY_SYMBOL;
public
const
int
NumberFormatter::NAN_SYMBOL;
public
const
int
NumberFormatter::SIGNIFICANT_DIGIT_SYMBOL;
public
const
int
NumberFormatter::MONETARY_GROUPING_SEPARATOR_SYMBOL;
public
const
int
NumberFormatter::TYPE_DEFAULT;
public
const
int
NumberFormatter::TYPE_INT32;
public
const
int
NumberFormatter::TYPE_INT64;
public
const
int
NumberFormatter::TYPE_DOUBLE;
public
const
int
NumberFormatter::TYPE_CURRENCY;
/* メソッド */
public __construct(string
$locale , int $style , stringnull $pattern = null )public static NumberFormatternull create(string
$locale , int $style , stringnull $pattern = null )public stringfalse formatCurrency(float
$amount , string $currency )public stringfalse format(intfloat
$num , int $type = NumberFormatter::TYPE_DEFAULT)public intfloatfalse getAttribute(int
$attribute )public int getErrorCode()
public string getErrorMessage()
public stringfalse getLocale(int
$type = ULOC_ACTUAL_LOCALE )public stringfalse getPattern()
public stringfalse getSymbol(int
$symbol )public stringfalse getTextAttribute(int
$attribute )public floatfalse parseCurrency(string
$string , string &$currency , int &$offset = null )public intfloatfalse parse(string
$string , int $type = NumberFormatter::TYPE_DOUBLE, int &$offset = null )public bool setAttribute(int
$attribute , intfloat $value )public bool setPattern(string
$pattern )public bool setSymbol(int
$symbol , string $value )public bool setTextAttribute(int
$attribute , string $value )定義済み定数これらのスタイルは numfmt_create で使用するもので、フォーマッタの形式を定義します。
これらの定数は、数値のパースやフォーマットの方法を定義します。 numfmt_format や numfmt_parse の引数として使用します。
numfmt_get_attribute および numfmt_set_attribute で使用する数値フォーマット属性です。
numfmt_get_text_attribute および numfmt_set_text_attribute で使用する数値フォーマットテキスト属性です。
numfmt_get_symbol および numfmt_set_symbol で使用する数値フォーマット記号です。
numfmt_get_attribute および
numfmt_set_attribute で、
numfmt_get_attribute および
numfmt_set_attribute で、
Locale クラスはじめに"ロケール" とは、言語や文化等の地域固有の内容を API で取得する際に使用する識別子のことです。PHP で使用しているロケールは、 ICU (そして他の多くの Unix 系 OS や Mac、Java など) が採用している CLDR ロケールと同じです。 ロケールは、RFC 4646 形式の言語タグ (アンダースコアではなくハイフンを使用したもの) を使用します。古くから用いられているアンダースコア形式の識別子も使用できます。 特にことわりがない限り、このクラスの関数では両方の形式の識別子を使用可能です。 識別子の例を以下にあげます。
Locale クラス (そしてそれに対応する手続き型の関数) を使用して、ロケール識別子に対する操作を行います。 たとえばその識別子が妥当な形式かどうかを調べたりします。 CLDR が UAX #35 で使用している (そして ICU も継承している) 拡張は、ICU で普通に用いることができます。 Locale クラスのインスタンスを作成することはできません。 すべての関数/メソッドは :: を付けて呼び出します。 null や空文字列は "root" ロケールとなります。 この "root" ロケールは、CLDR においては "en_US_POSIX" と同じ意味になります。言語タグ (そして ロケール識別子) は大文字小文字を区別しません。 仕様にあわせて大文字小文字の正規化を行う関数が存在します。 クラス概要
Locale
/* 定数 */
public
const
int
Locale::ACTUAL_LOCALE;
public
const
int
Locale::VALID_LOCALE;
public
const
null
Locale::DEFAULT_LOCALE = null;
public
const
string
Locale::LANG_TAG;
public
const
string
Locale::EXTLANG_TAG;
public
const
string
Locale::SCRIPT_TAG;
public
const
string
Locale::REGION_TAG;
public
const
string
Locale::VARIANT_TAG;
public
const
string
Locale::GRANDFATHERED_LANG_TAG;
public
const
string
Locale::PRIVATE_TAG;
/* メソッド */
public static stringfalse acceptFromHttp(string
$header )public static stringnull canonicalize(string
$locale )public static stringfalse composeLocale(array
$subtags )public static boolnull filterMatches(string
$languageTag , string $locale , bool $canonicalize = false )public static arraynull getAllVariants(string
$locale )public static string getDefault()
public static stringfalse getDisplayLanguage(string
$locale , stringnull $displayLocale = null )public static stringfalse getDisplayName(string
$locale , stringnull $displayLocale = null )public static stringfalse getDisplayRegion(string
$locale , stringnull $displayLocale = null )public static stringfalse getDisplayScript(string
$locale , stringnull $displayLocale = null )public static stringfalse getDisplayVariant(string
$locale , stringnull $displayLocale = null )public static arrayfalsenull getKeywords(string
$locale )public static stringnull getPrimaryLanguage(string
$locale )public static stringnull getRegion(string
$locale )public static stringnull getScript(string
$locale )public static stringnull lookup(
array $languageTag ,string $locale ,bool $canonicalize = false ,stringnull $defaultLocale = null ) public static arraynull parseLocale(string
$locale )public static bool setDefault(string
$locale )定義済み定数
これらの定数は、さまざまなクラスの getLocale メソッドでロケールを選択するために使用します。
これらの定数は、ロケールのパースや合成の方法を定義します。 locale_compose の引数に渡す配列のキーとして使用し、 また locale_parse が返す連想配列のキーとしても用いられます。
Normalizer クラスはじめに正規化とは、文字や文字列を正式に決められた表現に変換する処理のことです。 これは、検索や並べ替えなどの際に比較をするときに特に重要となります。 ただ、それだけではなく、テキストを保存する際に表記を統一するために用いることもあります。 Unicode Consortium では、 アプリケーション側でのさまざまなニーズにあわせていくつかの正規化方式を定義しています。
クラス概要
Normalizer
/* 定数 */
public
const
int
Normalizer::FORM_D;
public
const
int
Normalizer::NFD;
public
const
int
Normalizer::FORM_KD;
public
const
int
Normalizer::NFKD;
public
const
int
Normalizer::FORM_C;
public
const
int
Normalizer::NFC;
public
const
int
Normalizer::FORM_KC;
public
const
int
Normalizer::NFKC;
public
const
int
Normalizer::FORM_KC_CF;
public
const
int
Normalizer::NFKC_CF;
/* メソッド */
public static stringnull getRawDecomposition(string
$string , int $form = Normalizer::FORM_C)public static bool isNormalized(string
$string , int $form = Normalizer::FORM_C)public static stringfalse normalize(string
$string , int $form = Normalizer::FORM_C)定義済み定数以下の定数は、使用する正規化方式を定義するものです。
参考
変更履歴
MessageFormatter クラスはじめにMessageFormatter は、言語に依存しない連結されたメッセージを作成するための具象クラスです。 このクラスのメソッドを使用して、 エンドユーザー向けのすべてのメッセージを作成します。 MessageFormatter クラスは、プログラムから渡したさまざまな部品 (テキスト、数値、日付など) を組み合わせてメッセージを作成します。 MessageFormatter クラスでは、 プログラム側が部品の順序を気にする必要はありません。 このクラスでは、各部品に対して書式指定を使用し、 リソースバンドル内のひとつの文字列にメッセージをまとめます。 たとえば、 "Finished printing x out of y files..." のようなメッセージがあった場合に MessageFormatter は各翻訳に対して柔軟な表示を行います。 これまでは、エンドユーザー向けのメッセージは文章として作成し、 文字列で処理していました。 これは地域化の際にさまざまな問題を引き起こしていました。 文章の構造や単語の並び順、そして数値の書式などは 各言語によってさまざまに異なっているからです。 言語に依存しない方法でメッセージを作成するには、 メッセージの各部分を分割し、そこにデータへのキーを指定するようにします。 このキーを使用して、MessageFormatter クラスはメッセージの各部分を連結します。 そして地域化して適切な書式にした文字列をエンドユーザー向けに表示します。 MessageFormatter はオブジェクトのセットを受け取ってそれをフォーマットし、 フォーマットした文字列を適切な位置に埋め込みます。 MessageFormatter のフォーマットを選択することで、 数値にあわせて複数形を選択することができます。 一般的には、メッセージのフォーマットはリソースから取得し、 引数は実行時に動的に与えるようになります。 クラス概要
MessageFormatter
/* メソッド */
public __construct(string
$locale , string $pattern )public static MessageFormatternull create(string
$locale , string $pattern )public static stringfalse formatMessage(string
$locale , string $pattern , array $values )public stringfalse format(array
$values )public int getErrorCode()
public string getErrorMessage()
public string getLocale()
public stringfalse getPattern()
public static arrayfalse parseMessage(string
$locale , string $pattern , string $message )public arrayfalse parse(string
$string )public bool setPattern(string
$pattern )IntlCalendar クラスはじめに
クラス概要
IntlCalendar
/* 定数 */
public
const
int
IntlCalendar::FIELD_ERA;
public
const
int
IntlCalendar::FIELD_YEAR;
public
const
int
IntlCalendar::FIELD_MONTH;
public
const
int
IntlCalendar::FIELD_WEEK_OF_YEAR;
public
const
int
IntlCalendar::FIELD_WEEK_OF_MONTH;
public
const
int
IntlCalendar::FIELD_DATE;
public
const
int
IntlCalendar::FIELD_DAY_OF_YEAR;
public
const
int
IntlCalendar::FIELD_DAY_OF_WEEK;
public
const
int
IntlCalendar::FIELD_DAY_OF_WEEK_IN_MONTH;
public
const
int
IntlCalendar::FIELD_AM_PM;
public
const
int
IntlCalendar::FIELD_HOUR;
public
const
int
IntlCalendar::FIELD_HOUR_OF_DAY;
public
const
int
IntlCalendar::FIELD_MINUTE;
public
const
int
IntlCalendar::FIELD_SECOND;
public
const
int
IntlCalendar::FIELD_MILLISECOND;
public
const
int
IntlCalendar::FIELD_ZONE_OFFSET;
public
const
int
IntlCalendar::FIELD_DST_OFFSET;
public
const
int
IntlCalendar::FIELD_YEAR_WOY;
public
const
int
IntlCalendar::FIELD_DOW_LOCAL;
public
const
int
IntlCalendar::FIELD_EXTENDED_YEAR;
public
const
int
IntlCalendar::FIELD_JULIAN_DAY;
public
const
int
IntlCalendar::FIELD_MILLISECONDS_IN_DAY;
public
const
int
IntlCalendar::FIELD_IS_LEAP_MONTH;
public
const
int
IntlCalendar::FIELD_FIELD_COUNT;
public
const
int
IntlCalendar::FIELD_DAY_OF_MONTH;
public
const
int
IntlCalendar::DOW_SUNDAY;
public
const
int
IntlCalendar::DOW_MONDAY;
public
const
int
IntlCalendar::DOW_TUESDAY;
public
const
int
IntlCalendar::DOW_WEDNESDAY;
public
const
int
IntlCalendar::DOW_THURSDAY;
public
const
int
IntlCalendar::DOW_FRIDAY;
public
const
int
IntlCalendar::DOW_SATURDAY;
public
const
int
IntlCalendar::DOW_TYPE_WEEKDAY;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND_OFFSET;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND_CEASE;
public
const
int
IntlCalendar::WALLTIME_FIRST;
public
const
int
IntlCalendar::WALLTIME_LAST;
public
const
int
IntlCalendar::WALLTIME_NEXT_VALID;
/* メソッド */
private __construct()
public bool add(int
$field , int $value )public bool after(IntlCalendar
$other )public bool before(IntlCalendar
$other )public true clear(intnull
$field = null )public static IntlCalendarnull createInstance(IntlTimeZoneDateTimeZonestringnull
$timezone = null , stringnull $locale = null )public bool equals(IntlCalendar
$other )public intfalse fieldDifference(float
$timestamp , int $field )public static IntlCalendarnull fromDateTime(DateTimestring
$datetime , stringnull $locale = null )public intfalse get(int
$field )public intfalse getActualMaximum(int
$field )public intfalse getActualMinimum(int
$field )public static array getAvailableLocales()
public intfalse getDayOfWeekType(int
$dayOfWeek )public intfalse getErrorCode()
public stringfalse getErrorMessage()
public intfalse getFirstDayOfWeek()
public intfalse getGreatestMinimum(int
$field )public static IntlIteratorfalse getKeywordValuesForLocale(string
$keyword , string $locale , bool $onlyCommon )public intfalse getLeastMaximum(int
$field )public stringfalse getLocale(int
$type )public intfalse getMaximum(int
$field )public intfalse getMinimalDaysInFirstWeek()
public intfalse getMinimum(int
$field )public static float getNow()
public int getRepeatedWallTimeOption()
public int getSkippedWallTimeOption()
public floatfalse getTime()
public IntlTimeZonefalse getTimeZone()
public string getType()
public intfalse getWeekendTransition(int
$dayOfWeek )public bool inDaylightTime()
public bool isEquivalentTo(IntlCalendar
$other )public bool isLenient()
public bool isSet(int
$field )public bool isWeekend(floatnull
$timestamp = null )public bool roll(int
$field , intbool $value )public true set(int
$field , int $value )public true set(
int $year ,int $month ,int $dayOfMonth = NULL,int $hour = NULL,int $minute = NULL,int $second = NULL) public void setDate(int
$year , int $month , int $dayOfMonth )public void setDateTime(
int $year ,int $month ,int $dayOfMonth ,int $hour ,int $minute ,int $second = null ) public true setFirstDayOfWeek(int
$dayOfWeek )public true setLenient(bool
$lenient )public true setMinimalDaysInFirstWeek(int
$days )public true setRepeatedWallTimeOption(int
$option )public true setSkippedWallTimeOption(int
$option )public bool setTime(float
$timestamp )public bool setTimeZone(IntlTimeZoneDateTimeZonestringnull
$timezone )public DateTimefalse toDateTime()
定義済み定数
IntlGregorianCalendar クラスはじめに
クラス概要
IntlGregorianCalendar
extends
IntlCalendar
/* 継承した定数 */
public
const
int
IntlCalendar::FIELD_ERA;
public
const
int
IntlCalendar::FIELD_YEAR;
public
const
int
IntlCalendar::FIELD_MONTH;
public
const
int
IntlCalendar::FIELD_WEEK_OF_YEAR;
public
const
int
IntlCalendar::FIELD_WEEK_OF_MONTH;
public
const
int
IntlCalendar::FIELD_DATE;
public
const
int
IntlCalendar::FIELD_DAY_OF_YEAR;
public
const
int
IntlCalendar::FIELD_DAY_OF_WEEK;
public
const
int
IntlCalendar::FIELD_DAY_OF_WEEK_IN_MONTH;
public
const
int
IntlCalendar::FIELD_AM_PM;
public
const
int
IntlCalendar::FIELD_HOUR;
public
const
int
IntlCalendar::FIELD_HOUR_OF_DAY;
public
const
int
IntlCalendar::FIELD_MINUTE;
public
const
int
IntlCalendar::FIELD_SECOND;
public
const
int
IntlCalendar::FIELD_MILLISECOND;
public
const
int
IntlCalendar::FIELD_ZONE_OFFSET;
public
const
int
IntlCalendar::FIELD_DST_OFFSET;
public
const
int
IntlCalendar::FIELD_YEAR_WOY;
public
const
int
IntlCalendar::FIELD_DOW_LOCAL;
public
const
int
IntlCalendar::FIELD_EXTENDED_YEAR;
public
const
int
IntlCalendar::FIELD_JULIAN_DAY;
public
const
int
IntlCalendar::FIELD_MILLISECONDS_IN_DAY;
public
const
int
IntlCalendar::FIELD_IS_LEAP_MONTH;
public
const
int
IntlCalendar::FIELD_FIELD_COUNT;
public
const
int
IntlCalendar::FIELD_DAY_OF_MONTH;
public
const
int
IntlCalendar::DOW_SUNDAY;
public
const
int
IntlCalendar::DOW_MONDAY;
public
const
int
IntlCalendar::DOW_TUESDAY;
public
const
int
IntlCalendar::DOW_WEDNESDAY;
public
const
int
IntlCalendar::DOW_THURSDAY;
public
const
int
IntlCalendar::DOW_FRIDAY;
public
const
int
IntlCalendar::DOW_SATURDAY;
public
const
int
IntlCalendar::DOW_TYPE_WEEKDAY;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND_OFFSET;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND_CEASE;
public
const
int
IntlCalendar::WALLTIME_FIRST;
public
const
int
IntlCalendar::WALLTIME_LAST;
public
const
int
IntlCalendar::WALLTIME_NEXT_VALID;
/* メソッド */
public IntlGregorianCalendar::__construct(IntlTimeZone
$tz = ?, string $locale = ?)public IntlGregorianCalendar::__construct(int
$timeZoneOrYear , int $localeOrMonth , int $dayOfMonth )public IntlGregorianCalendar::__construct(
int $timeZoneOrYear ,int $localeOrMonth ,int $dayOfMonth ,int $hour ,int $minute ,int $second = ?) public static IntlGregorianCalendar::createFromDate(int
$year , int $month , int $dayOfMonth )public static IntlGregorianCalendar::createFromDateTime(
int $year ,int $month ,int $dayOfMonth ,int $hour ,int $minute ,int $second = null ) public float IntlGregorianCalendar::getGregorianChange()
public bool IntlGregorianCalendar::isLeapYear(int
$year )public bool IntlGregorianCalendar::setGregorianChange(float
$timestamp )/* 継承したメソッド */
public bool add(int
$field , int $value )public bool after(IntlCalendar
$other )public bool before(IntlCalendar
$other )public true clear(intnull
$field = null )public static IntlCalendarnull createInstance(IntlTimeZoneDateTimeZonestringnull
$timezone = null , stringnull $locale = null )public bool equals(IntlCalendar
$other )public intfalse fieldDifference(float
$timestamp , int $field )public static IntlCalendarnull fromDateTime(DateTimestring
$datetime , stringnull $locale = null )public intfalse get(int
$field )public intfalse getActualMaximum(int
$field )public intfalse getActualMinimum(int
$field )public static array getAvailableLocales()
public intfalse getDayOfWeekType(int
$dayOfWeek )public intfalse getErrorCode()
public stringfalse getErrorMessage()
public intfalse getFirstDayOfWeek()
public intfalse getGreatestMinimum(int
$field )public static IntlIteratorfalse getKeywordValuesForLocale(string
$keyword , string $locale , bool $onlyCommon )public intfalse getLeastMaximum(int
$field )public stringfalse getLocale(int
$type )public intfalse getMaximum(int
$field )public intfalse getMinimalDaysInFirstWeek()
public intfalse getMinimum(int
$field )public static float getNow()
public int getRepeatedWallTimeOption()
public int getSkippedWallTimeOption()
public floatfalse getTime()
public IntlTimeZonefalse getTimeZone()
public string getType()
public intfalse getWeekendTransition(int
$dayOfWeek )public bool inDaylightTime()
public bool isEquivalentTo(IntlCalendar
$other )public bool isLenient()
public bool isSet(int
$field )public bool isWeekend(floatnull
$timestamp = null )public bool roll(int
$field , intbool $value )public true set(int
$field , int $value )public true set(
int $year ,int $month ,int $dayOfMonth = NULL,int $hour = NULL,int $minute = NULL,int $second = NULL) public void setDate(int
$year , int $month , int $dayOfMonth )public void setDateTime(
int $year ,int $month ,int $dayOfMonth ,int $hour ,int $minute ,int $second = null ) public true setFirstDayOfWeek(int
$dayOfWeek )public true setLenient(bool
$lenient )public true setMinimalDaysInFirstWeek(int
$days )public true setRepeatedWallTimeOption(int
$option )public true setSkippedWallTimeOption(int
$option )public bool setTime(float
$timestamp )public bool setTimeZone(IntlTimeZoneDateTimeZonestringnull
$timezone )public DateTimefalse toDateTime()
IntlTimeZone クラスはじめに
クラス概要
IntlTimeZone
/* 定数 */
public
const
int
IntlTimeZone::DISPLAY_SHORT;
public
const
int
IntlTimeZone::DISPLAY_LONG;
public
const
int
IntlTimeZone::DISPLAY_SHORT_GENERIC;
public
const
int
IntlTimeZone::DISPLAY_LONG_GENERIC;
public
const
int
IntlTimeZone::DISPLAY_SHORT_GMT;
public
const
int
IntlTimeZone::DISPLAY_LONG_GMT;
public
const
int
IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED;
public
const
int
IntlTimeZone::DISPLAY_GENERIC_LOCATION;
public
const
int
IntlTimeZone::TYPE_ANY;
public
const
int
IntlTimeZone::TYPE_CANONICAL;
public
const
int
IntlTimeZone::TYPE_CANONICAL_LOCATION;
/* メソッド */
private __construct()
public static intfalse countEquivalentIDs(string
$timezoneId )public static IntlTimeZone createDefault()
public static IntlIteratorfalse createEnumeration(IntlTimeZonestringintfloatnull
$countryOrRawOffset = null )public static IntlTimeZonenull createTimeZone(string
$timezoneId )public static IntlIteratorfalse createTimeZoneIDEnumeration(int
$type , stringnull $region = null , intnull $rawOffset = null )public static IntlTimeZonenull fromDateTimeZone(DateTimeZone
$timezone )public static stringfalse getCanonicalID(string
$timezoneId , bool &$isSystemId = null )public stringfalse getDisplayName(bool
$dst = false , int $style = IntlTimeZone::DISPLAY_LONG, stringnull $locale = null )public int getDSTSavings()
public static stringfalse getEquivalentID(string
$timezoneId , int $offset )public intfalse getErrorCode()
public stringfalse getErrorMessage()
public static IntlTimeZone getGMT()
public stringfalse getID()
public static stringfalse getIDForWindowsID(string
$timezoneId , stringnull $region = null )public bool getOffset(
float $timestamp ,bool $local ,int &$rawOffset ,int &$dstOffset ) public int getRawOffset()
public static stringfalse getRegion(string
$timezoneId )public static stringfalse getTZDataVersion()
public static IntlTimeZone getUnknown()
public static stringfalse getWindowsID(string
$timezoneId )public bool hasSameRules(IntlTimeZone
$other )public DateTimeZonefalse toDateTimeZone()
public bool useDaylightTime()
定義済み定数
IntlDateFormatter クラスはじめにDate Formatter は、パターン文字列や出来合いのパターンを使用して ロケールに依存する日付のフォーマット/パースを行う具象クラスです。 このクラスは ICU の日付フォーマット機能を表します。 これを使用すると、パターン文字列や出来合いのパターンを使用して 日付を各地域のフォーマットで表示したり、 文字列をパースして PHP の日付として扱ったりすることができます。 クラス概要
IntlDateFormatter
/* 定数 */
public
const
int
IntlDateFormatter::FULL;
public
const
int
IntlDateFormatter::LONG;
public
const
int
IntlDateFormatter::MEDIUM;
public
const
int
IntlDateFormatter::SHORT;
public
const
int
IntlDateFormatter::NONE;
public
const
int
IntlDateFormatter::RELATIVE_FULL;
public
const
int
IntlDateFormatter::RELATIVE_LONG;
public
const
int
IntlDateFormatter::RELATIVE_MEDIUM;
public
const
int
IntlDateFormatter::RELATIVE_SHORT;
public
const
int
IntlDateFormatter::GREGORIAN;
public
const
int
IntlDateFormatter::TRADITIONAL;
/* メソッド */
public __construct(
stringnull $locale ,int $dateType = IntlDateFormatter::FULL,int $timeType = IntlDateFormatter::FULL,IntlTimeZoneDateTimeZonestringnull $timezone = null ,IntlCalendarintnull $calendar = null ,stringnull $pattern = null ) public static IntlDateFormatternull create(
stringnull $locale ,int $dateType = IntlDateFormatter::FULL,int $timeType = IntlDateFormatter::FULL,IntlTimeZoneDateTimeZonestringnull $timezone = null ,IntlCalendarintnull $calendar = null ,stringnull $pattern = null ) public stringfalse format(IntlCalendarDateTimeInterfacearraystringintfloat
$datetime )public static stringfalse formatObject(IntlCalendarDateTimeInterface
$datetime , arrayintstringnull $format = null , stringnull $locale = null )public intfalse getCalendar()
public intfalse getDateType()
public int getErrorCode()
public string getErrorMessage()
public stringfalse getLocale(int
$type = ULOC_ACTUAL_LOCALE )public stringfalse getPattern()
public intfalse getTimeType()
public stringfalse getTimeZoneId()
public IntlCalendarfalsenull getCalendarObject()
public IntlTimeZonefalse getTimeZone()
public bool isLenient()
public arrayfalse localtime(string
$string , int &$offset = null )public intfloatfalse parse(string
$string , int &$offset = null )public bool setCalendar(IntlCalendarintnull
$calendar )public void setLenient(bool
$lenient )public bool setPattern(string
$pattern )public bool setTimeZone(IntlTimeZoneDateTimeZonestringnull
$timezone )定義済み定数これらの定数は、DateType や TimeType のコンストラクタでさまざまなフォーマットを指定するために使用します。
次の整数定数は、暦の種類を指定するものです。 これらの暦は、すべてグレゴリオ暦にもとづくものです。 グレゴリオ暦以外の暦はロケールで指定しなければなりません。 たとえば、 locale="hi@calendar=BUDDHIST" のようになります。
ResourceBundle クラスはじめにローカライズしたソフトウェア製品には、 現在のロケールによって切り替えるデータのセットが必要となることがよくあります。 たとえばメッセージやラベル、書式パターンなどです。 ICU のリソース機能を使うと、リソースセットを定義することができます。 ロケールに基づいてアプリケーションからこれを読み込み、 ロケールにかかわらず統一された方法でアクセスすることができます。 このクラスは ICU のリソースデータファイルへのアクセスを実装しています。 このファイルはバイナリデータの配列で、ICU がローカライズしたデータを保存するために使っています。 ICU リソースバンドルには、シンプルなリソースと複雑なリソースを保持することができます。 複雑なリソースとはコンテナ形式のもので、数値添字あるいは文字列添字 (PHP の配列と同じ) のいずれかの形式になります。シンプルなリソースは 文字列、整数、バイナリデータフィールド、整数の配列 のいずれかの型となります。 ResourceBundle からデータにアクセスするには、 配列を使う方法と foreach を使う方法、そしてクラスメソッドを使う方法があります。 シンプルなリソースの場合は PHP の値、複雑なリソースの場合は ResourceBundle オブジェクトとして取得できます。 リソースはすべて読み込み専用となります。 クラス概要
ResourceBundle
implements
IteratorAggregate
Countable
/* メソッド */
public __construct(stringnull
$locale , stringnull $bundle , bool $fallback = true )public int count()
public static ResourceBundlenull create(stringnull
$locale , stringnull $bundle , bool $fallback = true )public int getErrorCode()
public string getErrorMessage()
public mixed get(stringint
$index , bool $fallback = true )public static arrayfalse getLocales(string
$bundle )変更履歴
Spoofchecker クラスはじめにUnicode は非常にたくさんの文字と、 世界中の様々な表記体系を含んでいます。 そのため使い方を誤ると、 文字の類似性を利用して、 プログラムやシステムに対するセキュリティ攻撃が成立する可能性があります。 そのため、このクラスが提供されています。
このクラスのメソッドを使うと、
個別の文字列が、文字の読み手を混乱させようとしている可能性があるかをチェック( クラス概要
Spoofchecker
/* 定数 */
public
const
int
Spoofchecker::SINGLE_SCRIPT_CONFUSABLE;
public
const
int
Spoofchecker::MIXED_SCRIPT_CONFUSABLE;
public
const
int
Spoofchecker::WHOLE_SCRIPT_CONFUSABLE;
public
const
int
Spoofchecker::ANY_CASE;
public
const
int
Spoofchecker::SINGLE_SCRIPT;
public
const
int
Spoofchecker::INVISIBLE;
public
const
int
Spoofchecker::CHAR_LIMIT;
public
const
int
Spoofchecker::ASCII;
public
const
int
Spoofchecker::HIGHLY_RESTRICTIVE;
public
const
int
Spoofchecker::MODERATELY_RESTRICTIVE;
public
const
int
Spoofchecker::MINIMALLY_RESTRICTIVE;
public
const
int
Spoofchecker::UNRESTRICTIVE;
public
const
int
Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE;
public
const
int
Spoofchecker::MIXED_NUMBERS;
public
const
int
Spoofchecker::HIDDEN_OVERLAY;
/* メソッド */
public __construct()
public bool areConfusable(string
$string1 , string $string2 , int &$errorCode = null )public bool isSuspicious(string
$string , int &$errorCode = null )public void setAllowedLocales(string
$locales )public void setChecks(int
$checks )public void setRestrictionLevel(int
$level )定義済み定数
変更履歴
Transliterator クラスはじめにTransliterator クラスは、文字列の音訳を行います。 クラス概要
Transliterator
/* 定数 */
public
const
int
Transliterator::FORWARD;
public
const
int
Transliterator::REVERSE;
/* プロパティ */
public
readonly
string
$id;
/* メソッド */
final private __construct()
public static Transliteratornull create(string
$id , int $direction = Transliterator::FORWARD)public static Transliteratornull createFromRules(string
$rules , int $direction = Transliterator::FORWARD)public Transliteratornull createInverse()
public intfalse getErrorCode()
public stringfalse getErrorMessage()
public static arrayfalse listIDs()
public stringfalse transliterate(string
$string , int $start = 0, int $end = -1)プロパティ
定義済み定数
変更履歴
IntlBreakIterator クラスはじめに“break iterator” は、 テキスト中のどこに境界 (たとえば、単語や文章の境目) が位置するのかに関するメソッドを公開しています。 PHP の IntlBreakIterator は、 全ての break iterator の基底クラスになります。 追加の機能が利用可能な場合は、 intl 拡張モジュールは適切なサブクラスを公開しています。 たとえば、 IntlRuleBasedBreakIterator や IntlCodePointBreakIterator です。
このクラスは、
IteratorAggregate も実装しています。
IntlBreakIterator を走査すると、
テキストに存在する連続する境界を示す、
負でない整数値を返します。
これは、UTF-8 のコード単位(バイト) の数として表現され、
テキストの最初
(これは、位置 クラス概要
IntlBreakIterator
implements
IteratorAggregate
/* 定数 */
public
const
int
IntlBreakIterator::DONE;
public
const
int
IntlBreakIterator::WORD_NONE;
public
const
int
IntlBreakIterator::WORD_NONE_LIMIT;
public
const
int
IntlBreakIterator::WORD_NUMBER;
public
const
int
IntlBreakIterator::WORD_NUMBER_LIMIT;
public
const
int
IntlBreakIterator::WORD_LETTER;
public
const
int
IntlBreakIterator::WORD_LETTER_LIMIT;
public
const
int
IntlBreakIterator::WORD_KANA;
public
const
int
IntlBreakIterator::WORD_KANA_LIMIT;
public
const
int
IntlBreakIterator::WORD_IDEO;
public
const
int
IntlBreakIterator::WORD_IDEO_LIMIT;
public
const
int
IntlBreakIterator::LINE_SOFT;
public
const
int
IntlBreakIterator::LINE_SOFT_LIMIT;
public
const
int
IntlBreakIterator::LINE_HARD;
public
const
int
IntlBreakIterator::LINE_HARD_LIMIT;
public
const
int
IntlBreakIterator::SENTENCE_TERM;
public
const
int
IntlBreakIterator::SENTENCE_TERM_LIMIT;
public
const
int
IntlBreakIterator::SENTENCE_SEP;
public
const
int
IntlBreakIterator::SENTENCE_SEP_LIMIT;
/* メソッド */
private __construct()
public static IntlBreakIteratornull createCharacterInstance(stringnull
$locale = null )public static IntlCodePointBreakIterator createCodePointInstance()
public static IntlBreakIteratornull createLineInstance(stringnull
$locale = null )public static IntlBreakIteratornull createSentenceInstance(stringnull
$locale = null )public static IntlBreakIteratornull createTitleInstance(stringnull
$locale = null )public static IntlBreakIteratornull createWordInstance(stringnull
$locale = null )public int current()
public int first()
public int following(int
$offset )public int getErrorCode()
public string getErrorMessage()
public stringfalse getLocale(int
$type )public IntlPartsIterator getPartsIterator(string
$type = IntlPartsIterator::KEY_SEQUENTIAL)public stringnull getText()
public bool isBoundary(int
$offset )public int last()
public int next(intnull
$offset = null )public int preceding(int
$offset )public int previous()
public bool setText(string
$text )定義済み定数
変更履歴
IntlRuleBasedBreakIterator クラスはじめにICU の break iterator をカプセル化した IntlBreakIterator クラスのサブクラスです。 一定のルールを使って振る舞いが定義されています。 これは、殆どの break iterator に共通する機能です。 これらのルールは、 » ICU Boundary Analysis User Guide で説明されています。 クラス概要
IntlRuleBasedBreakIterator
extends
IntlBreakIterator
/* 継承した定数 */
public
const
int
IntlBreakIterator::DONE;
public
const
int
IntlBreakIterator::WORD_NONE;
public
const
int
IntlBreakIterator::WORD_NONE_LIMIT;
public
const
int
IntlBreakIterator::WORD_NUMBER;
public
const
int
IntlBreakIterator::WORD_NUMBER_LIMIT;
public
const
int
IntlBreakIterator::WORD_LETTER;
public
const
int
IntlBreakIterator::WORD_LETTER_LIMIT;
public
const
int
IntlBreakIterator::WORD_KANA;
public
const
int
IntlBreakIterator::WORD_KANA_LIMIT;
public
const
int
IntlBreakIterator::WORD_IDEO;
public
const
int
IntlBreakIterator::WORD_IDEO_LIMIT;
public
const
int
IntlBreakIterator::LINE_SOFT;
public
const
int
IntlBreakIterator::LINE_SOFT_LIMIT;
public
const
int
IntlBreakIterator::LINE_HARD;
public
const
int
IntlBreakIterator::LINE_HARD_LIMIT;
public
const
int
IntlBreakIterator::SENTENCE_TERM;
public
const
int
IntlBreakIterator::SENTENCE_TERM_LIMIT;
public
const
int
IntlBreakIterator::SENTENCE_SEP;
public
const
int
IntlBreakIterator::SENTENCE_SEP_LIMIT;
/* メソッド */
public IntlRuleBasedBreakIterator::__construct(string
$rules , bool $compiled = false )public stringfalse IntlRuleBasedBreakIterator::getBinaryRules()
public stringfalse IntlRuleBasedBreakIterator::getRules()
public int IntlRuleBasedBreakIterator::getRuleStatus()
public arrayfalse IntlRuleBasedBreakIterator::getRuleStatusVec()
/* 継承したメソッド */
public static IntlBreakIteratornull createCharacterInstance(stringnull
$locale = null )public static IntlCodePointBreakIterator createCodePointInstance()
public static IntlBreakIteratornull createLineInstance(stringnull
$locale = null )public static IntlBreakIteratornull createSentenceInstance(stringnull
$locale = null )public static IntlBreakIteratornull createTitleInstance(stringnull
$locale = null )public static IntlBreakIteratornull createWordInstance(stringnull
$locale = null )public int current()
public int first()
public int following(int
$offset )public int getErrorCode()
public string getErrorMessage()
public stringfalse getLocale(int
$type )public IntlPartsIterator getPartsIterator(string
$type = IntlPartsIterator::KEY_SEQUENTIAL)public stringnull getText()
public bool isBoundary(int
$offset )public int last()
public int next(intnull
$offset = null )public int preceding(int
$offset )public int previous()
public bool setText(string
$text )IntlCodePointBreakIterator クラスはじめにこの break iterator は、UTF-8 のコードポイント間の境界を認識するものです。 クラス概要
IntlCodePointBreakIterator
extends
IntlBreakIterator
/* 継承した定数 */
public
const
int
IntlBreakIterator::DONE;
public
const
int
IntlBreakIterator::WORD_NONE;
public
const
int
IntlBreakIterator::WORD_NONE_LIMIT;
public
const
int
IntlBreakIterator::WORD_NUMBER;
public
const
int
IntlBreakIterator::WORD_NUMBER_LIMIT;
public
const
int
IntlBreakIterator::WORD_LETTER;
public
const
int
IntlBreakIterator::WORD_LETTER_LIMIT;
public
const
int
IntlBreakIterator::WORD_KANA;
public
const
int
IntlBreakIterator::WORD_KANA_LIMIT;
public
const
int
IntlBreakIterator::WORD_IDEO;
public
const
int
IntlBreakIterator::WORD_IDEO_LIMIT;
public
const
int
IntlBreakIterator::LINE_SOFT;
public
const
int
IntlBreakIterator::LINE_SOFT_LIMIT;
public
const
int
IntlBreakIterator::LINE_HARD;
public
const
int
IntlBreakIterator::LINE_HARD_LIMIT;
public
const
int
IntlBreakIterator::SENTENCE_TERM;
public
const
int
IntlBreakIterator::SENTENCE_TERM_LIMIT;
public
const
int
IntlBreakIterator::SENTENCE_SEP;
public
const
int
IntlBreakIterator::SENTENCE_SEP_LIMIT;
/* メソッド */
public int IntlCodePointBreakIterator::getLastCodePoint()
/* 継承したメソッド */
public static IntlBreakIteratornull createCharacterInstance(stringnull
$locale = null )public static IntlCodePointBreakIterator createCodePointInstance()
public static IntlBreakIteratornull createLineInstance(stringnull
$locale = null )public static IntlBreakIteratornull createSentenceInstance(stringnull
$locale = null )public static IntlBreakIteratornull createTitleInstance(stringnull
$locale = null )public static IntlBreakIteratornull createWordInstance(stringnull
$locale = null )public int current()
public int first()
public int following(int
$offset )public int getErrorCode()
public string getErrorMessage()
public stringfalse getLocale(int
$type )public IntlPartsIterator getPartsIterator(string
$type = IntlPartsIterator::KEY_SEQUENTIAL)public stringnull getText()
public bool isBoundary(int
$offset )public int last()
public int next(intnull
$offset = null )public int preceding(int
$offset )public int previous()
public bool setText(string
$text )IntlDatePatternGenerator クラスはじめにIntlDateFormatter で使われる、 地域化された 日付/時刻 のフォーマットパターン文字列を生成します。 クラス概要
IntlDatePatternGenerator
/* メソッド */
public __construct(stringnull
$locale = null )public static IntlDatePatternGeneratornull create(stringnull
$locale = null )public stringfalse getBestPattern(string
$skeleton )IntlPartsIterator クラスはじめにこのクラスのインスタンスは、 IntlBreakIterator から得られます。 break iterator は走査するたびに、 一連の境界の位置を返しますが、 IntlPartsIterator は、ふたつの連続する境界の間で認識されたテキストの断片を提供します。 キーは境界の左側、右側、として表現されるかもしれませんし、 負でない整数値として表現されるだけかもしれません。 IntlBreakIterator::getPartsIterator も参照ください。 クラス概要
IntlPartsIterator
extends
IntlIterator
/* 定数 */
public
const
int
IntlPartsIterator::KEY_SEQUENTIAL;
public
const
int
IntlPartsIterator::KEY_LEFT;
public
const
int
IntlPartsIterator::KEY_RIGHT;
/* メソッド */
public IntlBreakIterator IntlPartsIterator::getBreakIterator()
/* 継承したメソッド */
public mixed current()
public mixed key()
public void next()
public void rewind()
public bool valid()
定義済み定数
UConverter クラスはじめに
クラス概要
UConverter
/* 定数 */
public
const
int
UConverter::REASON_UNASSIGNED;
public
const
int
UConverter::REASON_ILLEGAL;
public
const
int
UConverter::REASON_IRREGULAR;
public
const
int
UConverter::REASON_RESET;
public
const
int
UConverter::REASON_CLOSE;
public
const
int
UConverter::REASON_CLONE;
public
const
int
UConverter::UNSUPPORTED_CONVERTER;
public
const
int
UConverter::SBCS;
public
const
int
UConverter::DBCS;
public
const
int
UConverter::MBCS;
public
const
int
UConverter::LATIN_1;
public
const
int
UConverter::UTF8;
public
const
int
UConverter::UTF16_BigEndian;
public
const
int
UConverter::UTF16_LittleEndian;
public
const
int
UConverter::UTF32_BigEndian;
public
const
int
UConverter::UTF32_LittleEndian;
public
const
int
UConverter::EBCDIC_STATEFUL;
public
const
int
UConverter::ISO_2022;
public
const
int
UConverter::LMBCS_1;
public
const
int
UConverter::LMBCS_2;
public
const
int
UConverter::LMBCS_3;
public
const
int
UConverter::LMBCS_4;
public
const
int
UConverter::LMBCS_5;
public
const
int
UConverter::LMBCS_6;
public
const
int
UConverter::LMBCS_8;
public
const
int
UConverter::LMBCS_11;
public
const
int
UConverter::LMBCS_16;
public
const
int
UConverter::LMBCS_17;
public
const
int
UConverter::LMBCS_18;
public
const
int
UConverter::LMBCS_19;
public
const
int
UConverter::LMBCS_LAST;
public
const
int
UConverter::HZ;
public
const
int
UConverter::SCSU;
public
const
int
UConverter::ISCII;
public
const
int
UConverter::US_ASCII;
public
const
int
UConverter::UTF7;
public
const
int
UConverter::BOCU1;
public
const
int
UConverter::UTF16;
public
const
int
UConverter::UTF32;
public
const
int
UConverter::CESU8;
public
const
int
UConverter::IMAP_MAILBOX;
/* メソッド */
public __construct(stringnull
$destination_encoding = null , stringnull $source_encoding = null )public stringfalse convert(string
$str , bool $reverse = false )public stringintarraynull fromUCallback(
int $reason ,array $source ,int $codePoint ,int &$error ) public static arrayfalsenull getAliases(string
$name )public static array getAvailable()
public stringfalsenull getDestinationEncoding()
public intfalsenull getDestinationType()
public int getErrorCode()
public stringnull getErrorMessage()
public stringfalsenull getSourceEncoding()
public intfalsenull getSourceType()
public static arraynull getStandards()
public stringfalsenull getSubstChars()
public static string reasonText(int
$reason )public bool setDestinationEncoding(string
$encoding )public bool setSourceEncoding(string
$encoding )public bool setSubstChars(string
$chars )public stringintarraynull toUCallback(
int $reason ,string $source ,string $codeUnits ,int &$error ) public static stringfalse transcode(
string $str ,string $toEncoding ,string $fromEncoding ,arraynull $options = null ) 定義済み定数
IntlChar クラスはじめにIntlChar クラスは、 Unicode 文字に関する情報にアクセスするための、 たくさんの便利メソッドを提供しています。 このクラスのメソッドと定数は、 依存している ICU ライブラリで使われている名前や振る舞いにとても近いものです。 クラス概要
IntlChar
/* 定数 */
public
const
string
IntlChar::UNICODE_VERSION;
public
const
int
IntlChar::CODEPOINT_MIN;
public
const
int
IntlChar::CODEPOINT_MAX;
public
const
float
IntlChar::NO_NUMERIC_VALUE;
public
const
int
IntlChar::PROPERTY_ALPHABETIC;
public
const
int
IntlChar::PROPERTY_BINARY_START;
public
const
int
IntlChar::PROPERTY_ASCII_HEX_DIGIT;
public
const
int
IntlChar::PROPERTY_BIDI_CONTROL;
public
const
int
IntlChar::PROPERTY_BIDI_MIRRORED;
public
const
int
IntlChar::PROPERTY_DASH;
public
const
int
IntlChar::PROPERTY_DEFAULT_IGNORABLE_CODE_POINT;
public
const
int
IntlChar::PROPERTY_DEPRECATED;
public
const
int
IntlChar::PROPERTY_DIACRITIC;
public
const
int
IntlChar::PROPERTY_EXTENDER;
public
const
int
IntlChar::PROPERTY_FULL_COMPOSITION_EXCLUSION;
public
const
int
IntlChar::PROPERTY_GRAPHEME_BASE;
public
const
int
IntlChar::PROPERTY_GRAPHEME_EXTEND;
public
const
int
IntlChar::PROPERTY_GRAPHEME_LINK;
public
const
int
IntlChar::PROPERTY_HEX_DIGIT;
public
const
int
IntlChar::PROPERTY_HYPHEN;
public
const
int
IntlChar::PROPERTY_ID_CONTINUE;
public
const
int
IntlChar::PROPERTY_ID_START;
public
const
int
IntlChar::PROPERTY_IDEOGRAPHIC;
public
const
int
IntlChar::PROPERTY_IDS_BINARY_OPERATOR;
public
const
int
IntlChar::PROPERTY_IDS_TRINARY_OPERATOR;
public
const
int
IntlChar::PROPERTY_JOIN_CONTROL;
public
const
int
IntlChar::PROPERTY_LOGICAL_ORDER_EXCEPTION;
public
const
int
IntlChar::PROPERTY_LOWERCASE;
public
const
int
IntlChar::PROPERTY_MATH;
public
const
int
IntlChar::PROPERTY_NONCHARACTER_CODE_POINT;
public
const
int
IntlChar::PROPERTY_QUOTATION_MARK;
public
const
int
IntlChar::PROPERTY_RADICAL;
public
const
int
IntlChar::PROPERTY_SOFT_DOTTED;
public
const
int
IntlChar::PROPERTY_TERMINAL_PUNCTUATION;
public
const
int
IntlChar::PROPERTY_UNIFIED_IDEOGRAPH;
public
const
int
IntlChar::PROPERTY_UPPERCASE;
public
const
int
IntlChar::PROPERTY_WHITE_SPACE;
public
const
int
IntlChar::PROPERTY_XID_CONTINUE;
public
const
int
IntlChar::PROPERTY_XID_START;
public
const
int
IntlChar::PROPERTY_CASE_SENSITIVE;
public
const
int
IntlChar::PROPERTY_S_TERM;
public
const
int
IntlChar::PROPERTY_VARIATION_SELECTOR;
public
const
int
IntlChar::PROPERTY_NFD_INERT;
public
const
int
IntlChar::PROPERTY_NFKD_INERT;
public
const
int
IntlChar::PROPERTY_NFC_INERT;
public
const
int
IntlChar::PROPERTY_NFKC_INERT;
public
const
int
IntlChar::PROPERTY_SEGMENT_STARTER;
public
const
int
IntlChar::PROPERTY_PATTERN_SYNTAX;
public
const
int
IntlChar::PROPERTY_PATTERN_WHITE_SPACE;
public
const
int
IntlChar::PROPERTY_POSIX_ALNUM;
public
const
int
IntlChar::PROPERTY_POSIX_BLANK;
public
const
int
IntlChar::PROPERTY_POSIX_GRAPH;
public
const
int
IntlChar::PROPERTY_POSIX_PRINT;
public
const
int
IntlChar::PROPERTY_POSIX_XDIGIT;
public
const
int
IntlChar::PROPERTY_CASED;
public
const
int
IntlChar::PROPERTY_CASE_IGNORABLE;
public
const
int
IntlChar::PROPERTY_CHANGES_WHEN_LOWERCASED;
public
const
int
IntlChar::PROPERTY_CHANGES_WHEN_UPPERCASED;
public
const
int
IntlChar::PROPERTY_CHANGES_WHEN_TITLECASED;
public
const
int
IntlChar::PROPERTY_CHANGES_WHEN_CASEFOLDED;
public
const
int
IntlChar::PROPERTY_CHANGES_WHEN_CASEMAPPED;
public
const
int
IntlChar::PROPERTY_CHANGES_WHEN_NFKC_CASEFOLDED;
public
const
int
IntlChar::PROPERTY_BINARY_LIMIT;
public
const
int
IntlChar::PROPERTY_BIDI_CLASS;
public
const
int
IntlChar::PROPERTY_INT_START;
public
const
int
IntlChar::PROPERTY_BLOCK;
public
const
int
IntlChar::PROPERTY_CANONICAL_COMBINING_CLASS;
public
const
int
IntlChar::PROPERTY_DECOMPOSITION_TYPE;
public
const
int
IntlChar::PROPERTY_EAST_ASIAN_WIDTH;
public
const
int
IntlChar::PROPERTY_GENERAL_CATEGORY;
public
const
int
IntlChar::PROPERTY_JOINING_GROUP;
public
const
int
IntlChar::PROPERTY_JOINING_TYPE;
public
const
int
IntlChar::PROPERTY_LINE_BREAK;
public
const
int
IntlChar::PROPERTY_NUMERIC_TYPE;
public
const
int
IntlChar::PROPERTY_SCRIPT;
public
const
int
IntlChar::PROPERTY_HANGUL_SYLLABLE_TYPE;
public
const
int
IntlChar::PROPERTY_NFD_QUICK_CHECK;
public
const
int
IntlChar::PROPERTY_NFKD_QUICK_CHECK;
public
const
int
IntlChar::PROPERTY_NFC_QUICK_CHECK;
public
const
int
IntlChar::PROPERTY_NFKC_QUICK_CHECK;
public
const
int
IntlChar::PROPERTY_LEAD_CANONICAL_COMBINING_CLASS;
public
const
int
IntlChar::PROPERTY_TRAIL_CANONICAL_COMBINING_CLASS;
public
const
int
IntlChar::PROPERTY_GRAPHEME_CLUSTER_BREAK;
public
const
int
IntlChar::PROPERTY_SENTENCE_BREAK;
public
const
int
IntlChar::PROPERTY_WORD_BREAK;
public
const
int
IntlChar::PROPERTY_BIDI_PAIRED_BRACKET_TYPE;
public
const
int
IntlChar::PROPERTY_INT_LIMIT;
public
const
int
IntlChar::PROPERTY_GENERAL_CATEGORY_MASK;
public
const
int
IntlChar::PROPERTY_MASK_START;
public
const
int
IntlChar::PROPERTY_MASK_LIMIT;
public
const
int
IntlChar::PROPERTY_NUMERIC_VALUE;
public
const
int
IntlChar::PROPERTY_DOUBLE_START;
public
const
int
IntlChar::PROPERTY_DOUBLE_LIMIT;
public
const
int
IntlChar::PROPERTY_AGE;
public
const
int
IntlChar::PROPERTY_STRING_START;
public
const
int
IntlChar::PROPERTY_BIDI_MIRRORING_GLYPH;
public
const
int
IntlChar::PROPERTY_CASE_FOLDING;
public
const
int
IntlChar::PROPERTY_ISO_COMMENT;
public
const
int
IntlChar::PROPERTY_LOWERCASE_MAPPING;
public
const
int
IntlChar::PROPERTY_NAME;
public
const
int
IntlChar::PROPERTY_SIMPLE_CASE_FOLDING;
public
const
int
IntlChar::PROPERTY_SIMPLE_LOWERCASE_MAPPING;
public
const
int
IntlChar::PROPERTY_SIMPLE_TITLECASE_MAPPING;
public
const
int
IntlChar::PROPERTY_SIMPLE_UPPERCASE_MAPPING;
public
const
int
IntlChar::PROPERTY_TITLECASE_MAPPING;
public
const
int
IntlChar::PROPERTY_UNICODE_1_NAME;
public
const
int
IntlChar::PROPERTY_UPPERCASE_MAPPING;
public
const
int
IntlChar::PROPERTY_BIDI_PAIRED_BRACKET;
public
const
int
IntlChar::PROPERTY_STRING_LIMIT;
public
const
int
IntlChar::PROPERTY_SCRIPT_EXTENSIONS;
public
const
int
IntlChar::PROPERTY_OTHER_PROPERTY_START;
public
const
int
IntlChar::PROPERTY_OTHER_PROPERTY_LIMIT;
public
const
int
IntlChar::PROPERTY_INVALID_CODE;
public
const
int
IntlChar::CHAR_CATEGORY_UNASSIGNED;
public
const
int
IntlChar::CHAR_CATEGORY_GENERAL_OTHER_TYPES;
public
const
int
IntlChar::CHAR_CATEGORY_UPPERCASE_LETTER;
public
const
int
IntlChar::CHAR_CATEGORY_LOWERCASE_LETTER;
public
const
int
IntlChar::CHAR_CATEGORY_TITLECASE_LETTER;
public
const
int
IntlChar::CHAR_CATEGORY_MODIFIER_LETTER;
public
const
int
IntlChar::CHAR_CATEGORY_OTHER_LETTER;
public
const
int
IntlChar::CHAR_CATEGORY_NON_SPACING_MARK;
public
const
int
IntlChar::CHAR_CATEGORY_ENCLOSING_MARK;
public
const
int
IntlChar::CHAR_CATEGORY_COMBINING_SPACING_MARK;
public
const
int
IntlChar::CHAR_CATEGORY_DECIMAL_DIGIT_NUMBER;
public
const
int
IntlChar::CHAR_CATEGORY_LETTER_NUMBER;
public
const
int
IntlChar::CHAR_CATEGORY_OTHER_NUMBER;
public
const
int
IntlChar::CHAR_CATEGORY_SPACE_SEPARATOR;
public
const
int
IntlChar::CHAR_CATEGORY_LINE_SEPARATOR;
public
const
int
IntlChar::CHAR_CATEGORY_PARAGRAPH_SEPARATOR;
public
const
int
IntlChar::CHAR_CATEGORY_CONTROL_CHAR;
public
const
int
IntlChar::CHAR_CATEGORY_FORMAT_CHAR;
public
const
int
IntlChar::CHAR_CATEGORY_PRIVATE_USE_CHAR;
public
const
int
IntlChar::CHAR_CATEGORY_SURROGATE;
public
const
int
IntlChar::CHAR_CATEGORY_DASH_PUNCTUATION;
public
const
int
IntlChar::CHAR_CATEGORY_START_PUNCTUATION;
public
const
int
IntlChar::CHAR_CATEGORY_END_PUNCTUATION;
public
const
int
IntlChar::CHAR_CATEGORY_CONNECTOR_PUNCTUATION;
public
const
int
IntlChar::CHAR_CATEGORY_OTHER_PUNCTUATION;
public
const
int
IntlChar::CHAR_CATEGORY_MATH_SYMBOL;
public
const
int
IntlChar::CHAR_CATEGORY_CURRENCY_SYMBOL;
public
const
int
IntlChar::CHAR_CATEGORY_MODIFIER_SYMBOL;
public
const
int
IntlChar::CHAR_CATEGORY_OTHER_SYMBOL;
public
const
int
IntlChar::CHAR_CATEGORY_INITIAL_PUNCTUATION;
public
const
int
IntlChar::CHAR_CATEGORY_FINAL_PUNCTUATION;
public
const
int
IntlChar::CHAR_CATEGORY_CHAR_CATEGORY_COUNT;
public
const
int
IntlChar::CHAR_DIRECTION_LEFT_TO_RIGHT;
public
const
int
IntlChar::CHAR_DIRECTION_RIGHT_TO_LEFT;
public
const
int
IntlChar::CHAR_DIRECTION_EUROPEAN_NUMBER;
public
const
int
IntlChar::CHAR_DIRECTION_EUROPEAN_NUMBER_SEPARATOR;
public
const
int
IntlChar::CHAR_DIRECTION_EUROPEAN_NUMBER_TERMINATOR;
public
const
int
IntlChar::CHAR_DIRECTION_ARABIC_NUMBER;
public
const
int
IntlChar::CHAR_DIRECTION_COMMON_NUMBER_SEPARATOR;
public
const
int
IntlChar::CHAR_DIRECTION_BLOCK_SEPARATOR;
public
const
int
IntlChar::CHAR_DIRECTION_SEGMENT_SEPARATOR;
public
const
int
IntlChar::CHAR_DIRECTION_WHITE_SPACE_NEUTRAL;
public
const
int
IntlChar::CHAR_DIRECTION_OTHER_NEUTRAL;
public
const
int
IntlChar::CHAR_DIRECTION_LEFT_TO_RIGHT_EMBEDDING;
public
const
int
IntlChar::CHAR_DIRECTION_LEFT_TO_RIGHT_OVERRIDE;
public
const
int
IntlChar::CHAR_DIRECTION_RIGHT_TO_LEFT_ARABIC;
public
const
int
IntlChar::CHAR_DIRECTION_RIGHT_TO_LEFT_EMBEDDING;
public
const
int
IntlChar::CHAR_DIRECTION_RIGHT_TO_LEFT_OVERRIDE;
public
const
int
IntlChar::CHAR_DIRECTION_POP_DIRECTIONAL_FORMAT;
public
const
int
IntlChar::CHAR_DIRECTION_DIR_NON_SPACING_MARK;
public
const
int
IntlChar::CHAR_DIRECTION_BOUNDARY_NEUTRAL;
public
const
int
IntlChar::CHAR_DIRECTION_FIRST_STRONG_ISOLATE;
public
const
int
IntlChar::CHAR_DIRECTION_LEFT_TO_RIGHT_ISOLATE;
public
const
int
IntlChar::CHAR_DIRECTION_RIGHT_TO_LEFT_ISOLATE;
public
const
int
IntlChar::CHAR_DIRECTION_POP_DIRECTIONAL_ISOLATE;
public
const
int
IntlChar::CHAR_DIRECTION_CHAR_DIRECTION_COUNT;
public
const
int
IntlChar::BLOCK_CODE_NO_BLOCK;
public
const
int
IntlChar::BLOCK_CODE_BASIC_LATIN;
public
const
int
IntlChar::BLOCK_CODE_LATIN_1_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_LATIN_EXTENDED_A;
public
const
int
IntlChar::BLOCK_CODE_LATIN_EXTENDED_B;
public
const
int
IntlChar::BLOCK_CODE_IPA_EXTENSIONS;
public
const
int
IntlChar::BLOCK_CODE_SPACING_MODIFIER_LETTERS;
public
const
int
IntlChar::BLOCK_CODE_COMBINING_DIACRITICAL_MARKS;
public
const
int
IntlChar::BLOCK_CODE_GREEK;
public
const
int
IntlChar::BLOCK_CODE_CYRILLIC;
public
const
int
IntlChar::BLOCK_CODE_ARMENIAN;
public
const
int
IntlChar::BLOCK_CODE_HEBREW;
public
const
int
IntlChar::BLOCK_CODE_ARABIC;
public
const
int
IntlChar::BLOCK_CODE_SYRIAC;
public
const
int
IntlChar::BLOCK_CODE_THAANA;
public
const
int
IntlChar::BLOCK_CODE_DEVANAGARI;
public
const
int
IntlChar::BLOCK_CODE_BENGALI;
public
const
int
IntlChar::BLOCK_CODE_GURMUKHI;
public
const
int
IntlChar::BLOCK_CODE_GUJARATI;
public
const
int
IntlChar::BLOCK_CODE_ORIYA;
public
const
int
IntlChar::BLOCK_CODE_TAMIL;
public
const
int
IntlChar::BLOCK_CODE_TELUGU;
public
const
int
IntlChar::BLOCK_CODE_KANNADA;
public
const
int
IntlChar::BLOCK_CODE_MALAYALAM;
public
const
int
IntlChar::BLOCK_CODE_SINHALA;
public
const
int
IntlChar::BLOCK_CODE_THAI;
public
const
int
IntlChar::BLOCK_CODE_LAO;
public
const
int
IntlChar::BLOCK_CODE_TIBETAN;
public
const
int
IntlChar::BLOCK_CODE_MYANMAR;
public
const
int
IntlChar::BLOCK_CODE_GEORGIAN;
public
const
int
IntlChar::BLOCK_CODE_HANGUL_JAMO;
public
const
int
IntlChar::BLOCK_CODE_ETHIOPIC;
public
const
int
IntlChar::BLOCK_CODE_CHEROKEE;
public
const
int
IntlChar::BLOCK_CODE_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS;
public
const
int
IntlChar::BLOCK_CODE_OGHAM;
public
const
int
IntlChar::BLOCK_CODE_RUNIC;
public
const
int
IntlChar::BLOCK_CODE_KHMER;
public
const
int
IntlChar::BLOCK_CODE_MONGOLIAN;
public
const
int
IntlChar::BLOCK_CODE_LATIN_EXTENDED_ADDITIONAL;
public
const
int
IntlChar::BLOCK_CODE_GREEK_EXTENDED;
public
const
int
IntlChar::BLOCK_CODE_GENERAL_PUNCTUATION;
public
const
int
IntlChar::BLOCK_CODE_SUPERSCRIPTS_AND_SUBSCRIPTS;
public
const
int
IntlChar::BLOCK_CODE_CURRENCY_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_COMBINING_MARKS_FOR_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_LETTERLIKE_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_NUMBER_FORMS;
public
const
int
IntlChar::BLOCK_CODE_ARROWS;
public
const
int
IntlChar::BLOCK_CODE_MATHEMATICAL_OPERATORS;
public
const
int
IntlChar::BLOCK_CODE_MISCELLANEOUS_TECHNICAL;
public
const
int
IntlChar::BLOCK_CODE_CONTROL_PICTURES;
public
const
int
IntlChar::BLOCK_CODE_OPTICAL_CHARACTER_RECOGNITION;
public
const
int
IntlChar::BLOCK_CODE_ENCLOSED_ALPHANUMERICS;
public
const
int
IntlChar::BLOCK_CODE_BOX_DRAWING;
public
const
int
IntlChar::BLOCK_CODE_BLOCK_ELEMENTS;
public
const
int
IntlChar::BLOCK_CODE_GEOMETRIC_SHAPES;
public
const
int
IntlChar::BLOCK_CODE_MISCELLANEOUS_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_DINGBATS;
public
const
int
IntlChar::BLOCK_CODE_BRAILLE_PATTERNS;
public
const
int
IntlChar::BLOCK_CODE_CJK_RADICALS_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_KANGXI_RADICALS;
public
const
int
IntlChar::BLOCK_CODE_IDEOGRAPHIC_DESCRIPTION_CHARACTERS;
public
const
int
IntlChar::BLOCK_CODE_CJK_SYMBOLS_AND_PUNCTUATION;
public
const
int
IntlChar::BLOCK_CODE_HIRAGANA;
public
const
int
IntlChar::BLOCK_CODE_KATAKANA;
public
const
int
IntlChar::BLOCK_CODE_BOPOMOFO;
public
const
int
IntlChar::BLOCK_CODE_HANGUL_COMPATIBILITY_JAMO;
public
const
int
IntlChar::BLOCK_CODE_KANBUN;
public
const
int
IntlChar::BLOCK_CODE_BOPOMOFO_EXTENDED;
public
const
int
IntlChar::BLOCK_CODE_ENCLOSED_CJK_LETTERS_AND_MONTHS;
public
const
int
IntlChar::BLOCK_CODE_CJK_COMPATIBILITY;
public
const
int
IntlChar::BLOCK_CODE_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A;
public
const
int
IntlChar::BLOCK_CODE_CJK_UNIFIED_IDEOGRAPHS;
public
const
int
IntlChar::BLOCK_CODE_YI_SYLLABLES;
public
const
int
IntlChar::BLOCK_CODE_YI_RADICALS;
public
const
int
IntlChar::BLOCK_CODE_HANGUL_SYLLABLES;
public
const
int
IntlChar::BLOCK_CODE_HIGH_SURROGATES;
public
const
int
IntlChar::BLOCK_CODE_HIGH_PRIVATE_USE_SURROGATES;
public
const
int
IntlChar::BLOCK_CODE_LOW_SURROGATES;
public
const
int
IntlChar::BLOCK_CODE_PRIVATE_USE_AREA;
public
const
int
IntlChar::BLOCK_CODE_PRIVATE_USE;
public
const
int
IntlChar::BLOCK_CODE_CJK_COMPATIBILITY_IDEOGRAPHS;
public
const
int
IntlChar::BLOCK_CODE_ALPHABETIC_PRESENTATION_FORMS;
public
const
int
IntlChar::BLOCK_CODE_ARABIC_PRESENTATION_FORMS_A;
public
const
int
IntlChar::BLOCK_CODE_COMBINING_HALF_MARKS;
public
const
int
IntlChar::BLOCK_CODE_CJK_COMPATIBILITY_FORMS;
public
const
int
IntlChar::BLOCK_CODE_SMALL_FORM_VARIANTS;
public
const
int
IntlChar::BLOCK_CODE_ARABIC_PRESENTATION_FORMS_B;
public
const
int
IntlChar::BLOCK_CODE_SPECIALS;
public
const
int
IntlChar::BLOCK_CODE_HALFWIDTH_AND_FULLWIDTH_FORMS;
public
const
int
IntlChar::BLOCK_CODE_OLD_ITALIC;
public
const
int
IntlChar::BLOCK_CODE_GOTHIC;
public
const
int
IntlChar::BLOCK_CODE_DESERET;
public
const
int
IntlChar::BLOCK_CODE_BYZANTINE_MUSICAL_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_MUSICAL_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_MATHEMATICAL_ALPHANUMERIC_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B;
public
const
int
IntlChar::BLOCK_CODE_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_TAGS;
public
const
int
IntlChar::BLOCK_CODE_CYRILLIC_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_CYRILLIC_SUPPLEMENTARY;
public
const
int
IntlChar::BLOCK_CODE_TAGALOG;
public
const
int
IntlChar::BLOCK_CODE_HANUNOO;
public
const
int
IntlChar::BLOCK_CODE_BUHID;
public
const
int
IntlChar::BLOCK_CODE_TAGBANWA;
public
const
int
IntlChar::BLOCK_CODE_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A;
public
const
int
IntlChar::BLOCK_CODE_SUPPLEMENTAL_ARROWS_A;
public
const
int
IntlChar::BLOCK_CODE_SUPPLEMENTAL_ARROWS_B;
public
const
int
IntlChar::BLOCK_CODE_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B;
public
const
int
IntlChar::BLOCK_CODE_SUPPLEMENTAL_MATHEMATICAL_OPERATORS;
public
const
int
IntlChar::BLOCK_CODE_KATAKANA_PHONETIC_EXTENSIONS;
public
const
int
IntlChar::BLOCK_CODE_VARIATION_SELECTORS;
public
const
int
IntlChar::BLOCK_CODE_SUPPLEMENTARY_PRIVATE_USE_AREA_A;
public
const
int
IntlChar::BLOCK_CODE_SUPPLEMENTARY_PRIVATE_USE_AREA_B;
public
const
int
IntlChar::BLOCK_CODE_LIMBU;
public
const
int
IntlChar::BLOCK_CODE_TAI_LE;
public
const
int
IntlChar::BLOCK_CODE_KHMER_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_PHONETIC_EXTENSIONS;
public
const
int
IntlChar::BLOCK_CODE_MISCELLANEOUS_SYMBOLS_AND_ARROWS;
public
const
int
IntlChar::BLOCK_CODE_YIJING_HEXAGRAM_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_LINEAR_B_SYLLABARY;
public
const
int
IntlChar::BLOCK_CODE_LINEAR_B_IDEOGRAMS;
public
const
int
IntlChar::BLOCK_CODE_AEGEAN_NUMBERS;
public
const
int
IntlChar::BLOCK_CODE_UGARITIC;
public
const
int
IntlChar::BLOCK_CODE_SHAVIAN;
public
const
int
IntlChar::BLOCK_CODE_OSMANYA;
public
const
int
IntlChar::BLOCK_CODE_CYPRIOT_SYLLABARY;
public
const
int
IntlChar::BLOCK_CODE_TAI_XUAN_JING_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_VARIATION_SELECTORS_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_ANCIENT_GREEK_MUSICAL_NOTATION;
public
const
int
IntlChar::BLOCK_CODE_ANCIENT_GREEK_NUMBERS;
public
const
int
IntlChar::BLOCK_CODE_ARABIC_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_BUGINESE;
public
const
int
IntlChar::BLOCK_CODE_CJK_STROKES;
public
const
int
IntlChar::BLOCK_CODE_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_COPTIC;
public
const
int
IntlChar::BLOCK_CODE_ETHIOPIC_EXTENDED;
public
const
int
IntlChar::BLOCK_CODE_ETHIOPIC_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_GEORGIAN_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_GLAGOLITIC;
public
const
int
IntlChar::BLOCK_CODE_KHAROSHTHI;
public
const
int
IntlChar::BLOCK_CODE_MODIFIER_TONE_LETTERS;
public
const
int
IntlChar::BLOCK_CODE_NEW_TAI_LUE;
public
const
int
IntlChar::BLOCK_CODE_OLD_PERSIAN;
public
const
int
IntlChar::BLOCK_CODE_PHONETIC_EXTENSIONS_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_SUPPLEMENTAL_PUNCTUATION;
public
const
int
IntlChar::BLOCK_CODE_SYLOTI_NAGRI;
public
const
int
IntlChar::BLOCK_CODE_TIFINAGH;
public
const
int
IntlChar::BLOCK_CODE_VERTICAL_FORMS;
public
const
int
IntlChar::BLOCK_CODE_NKO;
public
const
int
IntlChar::BLOCK_CODE_BALINESE;
public
const
int
IntlChar::BLOCK_CODE_LATIN_EXTENDED_C;
public
const
int
IntlChar::BLOCK_CODE_LATIN_EXTENDED_D;
public
const
int
IntlChar::BLOCK_CODE_PHAGS_PA;
public
const
int
IntlChar::BLOCK_CODE_PHOENICIAN;
public
const
int
IntlChar::BLOCK_CODE_CUNEIFORM;
public
const
int
IntlChar::BLOCK_CODE_CUNEIFORM_NUMBERS_AND_PUNCTUATION;
public
const
int
IntlChar::BLOCK_CODE_COUNTING_ROD_NUMERALS;
public
const
int
IntlChar::BLOCK_CODE_SUNDANESE;
public
const
int
IntlChar::BLOCK_CODE_LEPCHA;
public
const
int
IntlChar::BLOCK_CODE_OL_CHIKI;
public
const
int
IntlChar::BLOCK_CODE_CYRILLIC_EXTENDED_A;
public
const
int
IntlChar::BLOCK_CODE_VAI;
public
const
int
IntlChar::BLOCK_CODE_CYRILLIC_EXTENDED_B;
public
const
int
IntlChar::BLOCK_CODE_SAURASHTRA;
public
const
int
IntlChar::BLOCK_CODE_KAYAH_LI;
public
const
int
IntlChar::BLOCK_CODE_REJANG;
public
const
int
IntlChar::BLOCK_CODE_CHAM;
public
const
int
IntlChar::BLOCK_CODE_ANCIENT_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_PHAISTOS_DISC;
public
const
int
IntlChar::BLOCK_CODE_LYCIAN;
public
const
int
IntlChar::BLOCK_CODE_CARIAN;
public
const
int
IntlChar::BLOCK_CODE_LYDIAN;
public
const
int
IntlChar::BLOCK_CODE_MAHJONG_TILES;
public
const
int
IntlChar::BLOCK_CODE_DOMINO_TILES;
public
const
int
IntlChar::BLOCK_CODE_SAMARITAN;
public
const
int
IntlChar::BLOCK_CODE_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED;
public
const
int
IntlChar::BLOCK_CODE_TAI_THAM;
public
const
int
IntlChar::BLOCK_CODE_VEDIC_EXTENSIONS;
public
const
int
IntlChar::BLOCK_CODE_LISU;
public
const
int
IntlChar::BLOCK_CODE_BAMUM;
public
const
int
IntlChar::BLOCK_CODE_COMMON_INDIC_NUMBER_FORMS;
public
const
int
IntlChar::BLOCK_CODE_DEVANAGARI_EXTENDED;
public
const
int
IntlChar::BLOCK_CODE_HANGUL_JAMO_EXTENDED_A;
public
const
int
IntlChar::BLOCK_CODE_JAVANESE;
public
const
int
IntlChar::BLOCK_CODE_MYANMAR_EXTENDED_A;
public
const
int
IntlChar::BLOCK_CODE_TAI_VIET;
public
const
int
IntlChar::BLOCK_CODE_MEETEI_MAYEK;
public
const
int
IntlChar::BLOCK_CODE_HANGUL_JAMO_EXTENDED_B;
public
const
int
IntlChar::BLOCK_CODE_IMPERIAL_ARAMAIC;
public
const
int
IntlChar::BLOCK_CODE_OLD_SOUTH_ARABIAN;
public
const
int
IntlChar::BLOCK_CODE_AVESTAN;
public
const
int
IntlChar::BLOCK_CODE_INSCRIPTIONAL_PARTHIAN;
public
const
int
IntlChar::BLOCK_CODE_INSCRIPTIONAL_PAHLAVI;
public
const
int
IntlChar::BLOCK_CODE_OLD_TURKIC;
public
const
int
IntlChar::BLOCK_CODE_RUMI_NUMERAL_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_KAITHI;
public
const
int
IntlChar::BLOCK_CODE_EGYPTIAN_HIEROGLYPHS;
public
const
int
IntlChar::BLOCK_CODE_ENCLOSED_ALPHANUMERIC_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C;
public
const
int
IntlChar::BLOCK_CODE_MANDAIC;
public
const
int
IntlChar::BLOCK_CODE_BATAK;
public
const
int
IntlChar::BLOCK_CODE_ETHIOPIC_EXTENDED_A;
public
const
int
IntlChar::BLOCK_CODE_BRAHMI;
public
const
int
IntlChar::BLOCK_CODE_BAMUM_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_KANA_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_PLAYING_CARDS;
public
const
int
IntlChar::BLOCK_CODE_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS;
public
const
int
IntlChar::BLOCK_CODE_EMOTICONS;
public
const
int
IntlChar::BLOCK_CODE_TRANSPORT_AND_MAP_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_ALCHEMICAL_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D;
public
const
int
IntlChar::BLOCK_CODE_ARABIC_EXTENDED_A;
public
const
int
IntlChar::BLOCK_CODE_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS;
public
const
int
IntlChar::BLOCK_CODE_CHAKMA;
public
const
int
IntlChar::BLOCK_CODE_MEETEI_MAYEK_EXTENSIONS;
public
const
int
IntlChar::BLOCK_CODE_MEROITIC_CURSIVE;
public
const
int
IntlChar::BLOCK_CODE_MEROITIC_HIEROGLYPHS;
public
const
int
IntlChar::BLOCK_CODE_MIAO;
public
const
int
IntlChar::BLOCK_CODE_SHARADA;
public
const
int
IntlChar::BLOCK_CODE_SORA_SOMPENG;
public
const
int
IntlChar::BLOCK_CODE_SUNDANESE_SUPPLEMENT;
public
const
int
IntlChar::BLOCK_CODE_TAKRI;
public
const
int
IntlChar::BLOCK_CODE_BASSA_VAH;
public
const
int
IntlChar::BLOCK_CODE_CAUCASIAN_ALBANIAN;
public
const
int
IntlChar::BLOCK_CODE_COPTIC_EPACT_NUMBERS;
public
const
int
IntlChar::BLOCK_CODE_COMBINING_DIACRITICAL_MARKS_EXTENDED;
public
const
int
IntlChar::BLOCK_CODE_DUPLOYAN;
public
const
int
IntlChar::BLOCK_CODE_ELBASAN;
public
const
int
IntlChar::BLOCK_CODE_GEOMETRIC_SHAPES_EXTENDED;
public
const
int
IntlChar::BLOCK_CODE_GRANTHA;
public
const
int
IntlChar::BLOCK_CODE_KHOJKI;
public
const
int
IntlChar::BLOCK_CODE_KHUDAWADI;
public
const
int
IntlChar::BLOCK_CODE_LATIN_EXTENDED_E;
public
const
int
IntlChar::BLOCK_CODE_LINEAR_A;
public
const
int
IntlChar::BLOCK_CODE_MAHAJANI;
public
const
int
IntlChar::BLOCK_CODE_MANICHAEAN;
public
const
int
IntlChar::BLOCK_CODE_MENDE_KIKAKUI;
public
const
int
IntlChar::BLOCK_CODE_MODI;
public
const
int
IntlChar::BLOCK_CODE_MRO;
public
const
int
IntlChar::BLOCK_CODE_MYANMAR_EXTENDED_B;
public
const
int
IntlChar::BLOCK_CODE_NABATAEAN;
public
const
int
IntlChar::BLOCK_CODE_OLD_NORTH_ARABIAN;
public
const
int
IntlChar::BLOCK_CODE_OLD_PERMIC;
public
const
int
IntlChar::BLOCK_CODE_ORNAMENTAL_DINGBATS;
public
const
int
IntlChar::BLOCK_CODE_PAHAWH_HMONG;
public
const
int
IntlChar::BLOCK_CODE_PALMYRENE;
public
const
int
IntlChar::BLOCK_CODE_PAU_CIN_HAU;
public
const
int
IntlChar::BLOCK_CODE_PSALTER_PAHLAVI;
public
const
int
IntlChar::BLOCK_CODE_SHORTHAND_FORMAT_CONTROLS;
public
const
int
IntlChar::BLOCK_CODE_SIDDHAM;
public
const
int
IntlChar::BLOCK_CODE_SINHALA_ARCHAIC_NUMBERS;
public
const
int
IntlChar::BLOCK_CODE_SUPPLEMENTAL_ARROWS_C;
public
const
int
IntlChar::BLOCK_CODE_TIRHUTA;
public
const
int
IntlChar::BLOCK_CODE_WARANG_CITI;
public
const
int
IntlChar::BLOCK_CODE_COUNT;
public
const
int
IntlChar::BLOCK_CODE_INVALID_CODE;
public
const
int
IntlChar::BPT_NONE;
public
const
int
IntlChar::BPT_OPEN;
public
const
int
IntlChar::BPT_CLOSE;
public
const
int
IntlChar::BPT_COUNT;
public
const
int
IntlChar::EA_NEUTRAL;
public
const
int
IntlChar::EA_AMBIGUOUS;
public
const
int
IntlChar::EA_HALFWIDTH;
public
const
int
IntlChar::EA_FULLWIDTH;
public
const
int
IntlChar::EA_NARROW;
public
const
int
IntlChar::EA_WIDE;
public
const
int
IntlChar::EA_COUNT;
public
const
int
IntlChar::UNICODE_CHAR_NAME;
public
const
int
IntlChar::UNICODE_10_CHAR_NAME;
public
const
int
IntlChar::EXTENDED_CHAR_NAME;
public
const
int
IntlChar::CHAR_NAME_ALIAS;
public
const
int
IntlChar::CHAR_NAME_CHOICE_COUNT;
public
const
int
IntlChar::SHORT_PROPERTY_NAME;
public
const
int
IntlChar::LONG_PROPERTY_NAME;
public
const
int
IntlChar::PROPERTY_NAME_CHOICE_COUNT;
public
const
int
IntlChar::DT_NONE;
public
const
int
IntlChar::DT_CANONICAL;
public
const
int
IntlChar::DT_COMPAT;
public
const
int
IntlChar::DT_CIRCLE;
public
const
int
IntlChar::DT_FINAL;
public
const
int
IntlChar::DT_FONT;
public
const
int
IntlChar::DT_FRACTION;
public
const
int
IntlChar::DT_INITIAL;
public
const
int
IntlChar::DT_ISOLATED;
public
const
int
IntlChar::DT_MEDIAL;
public
const
int
IntlChar::DT_NARROW;
public
const
int
IntlChar::DT_NOBREAK;
public
const
int
IntlChar::DT_SMALL;
public
const
int
IntlChar::DT_SQUARE;
public
const
int
IntlChar::DT_SUB;
public
const
int
IntlChar::DT_SUPER;
public
const
int
IntlChar::DT_VERTICAL;
public
const
int
IntlChar::DT_WIDE;
public
const
int
IntlChar::DT_COUNT;
public
const
int
IntlChar::JT_NON_JOINING;
public
const
int
IntlChar::JT_JOIN_CAUSING;
public
const
int
IntlChar::JT_DUAL_JOINING;
public
const
int
IntlChar::JT_LEFT_JOINING;
public
const
int
IntlChar::JT_RIGHT_JOINING;
public
const
int
IntlChar::JT_TRANSPARENT;
public
const
int
IntlChar::JT_COUNT;
public
const
int
IntlChar::JG_NO_JOINING_GROUP;
public
const
int
IntlChar::JG_AIN;
public
const
int
IntlChar::JG_ALAPH;
public
const
int
IntlChar::JG_ALEF;
public
const
int
IntlChar::JG_BEH;
public
const
int
IntlChar::JG_BETH;
public
const
int
IntlChar::JG_DAL;
public
const
int
IntlChar::JG_DALATH_RISH;
public
const
int
IntlChar::JG_E;
public
const
int
IntlChar::JG_FEH;
public
const
int
IntlChar::JG_FINAL_SEMKATH;
public
const
int
IntlChar::JG_GAF;
public
const
int
IntlChar::JG_GAMAL;
public
const
int
IntlChar::JG_HAH;
public
const
int
IntlChar::JG_TEH_MARBUTA_GOAL;
public
const
int
IntlChar::JG_HAMZA_ON_HEH_GOAL;
public
const
int
IntlChar::JG_HE;
public
const
int
IntlChar::JG_HEH;
public
const
int
IntlChar::JG_HEH_GOAL;
public
const
int
IntlChar::JG_HETH;
public
const
int
IntlChar::JG_KAF;
public
const
int
IntlChar::JG_KAPH;
public
const
int
IntlChar::JG_KNOTTED_HEH;
public
const
int
IntlChar::JG_LAM;
public
const
int
IntlChar::JG_LAMADH;
public
const
int
IntlChar::JG_MEEM;
public
const
int
IntlChar::JG_MIM;
public
const
int
IntlChar::JG_NOON;
public
const
int
IntlChar::JG_NUN;
public
const
int
IntlChar::JG_PE;
public
const
int
IntlChar::JG_QAF;
public
const
int
IntlChar::JG_QAPH;
public
const
int
IntlChar::JG_REH;
public
const
int
IntlChar::JG_REVERSED_PE;
public
const
int
IntlChar::JG_SAD;
public
const
int
IntlChar::JG_SADHE;
public
const
int
IntlChar::JG_SEEN;
public
const
int
IntlChar::JG_SEMKATH;
public
const
int
IntlChar::JG_SHIN;
public
const
int
IntlChar::JG_SWASH_KAF;
public
const
int
IntlChar::JG_SYRIAC_WAW;
public
const
int
IntlChar::JG_TAH;
public
const
int
IntlChar::JG_TAW;
public
const
int
IntlChar::JG_TEH_MARBUTA;
public
const
int
IntlChar::JG_TETH;
public
const
int
IntlChar::JG_WAW;
public
const
int
IntlChar::JG_YEH;
public
const
int
IntlChar::JG_YEH_BARREE;
public
const
int
IntlChar::JG_YEH_WITH_TAIL;
public
const
int
IntlChar::JG_YUDH;
public
const
int
IntlChar::JG_YUDH_HE;
public
const
int
IntlChar::JG_ZAIN;
public
const
int
IntlChar::JG_FE;
public
const
int
IntlChar::JG_KHAPH;
public
const
int
IntlChar::JG_ZHAIN;
public
const
int
IntlChar::JG_BURUSHASKI_YEH_BARREE;
public
const
int
IntlChar::JG_FARSI_YEH;
public
const
int
IntlChar::JG_NYA;
public
const
int
IntlChar::JG_ROHINGYA_YEH;
public
const
int
IntlChar::JG_MANICHAEAN_ALEPH;
public
const
int
IntlChar::JG_MANICHAEAN_AYIN;
public
const
int
IntlChar::JG_MANICHAEAN_BETH;
public
const
int
IntlChar::JG_MANICHAEAN_DALETH;
public
const
int
IntlChar::JG_MANICHAEAN_DHAMEDH;
public
const
int
IntlChar::JG_MANICHAEAN_FIVE;
public
const
int
IntlChar::JG_MANICHAEAN_GIMEL;
public
const
int
IntlChar::JG_MANICHAEAN_HETH;
public
const
int
IntlChar::JG_MANICHAEAN_HUNDRED;
public
const
int
IntlChar::JG_MANICHAEAN_KAPH;
public
const
int
IntlChar::JG_MANICHAEAN_LAMEDH;
public
const
int
IntlChar::JG_MANICHAEAN_MEM;
public
const
int
IntlChar::JG_MANICHAEAN_NUN;
public
const
int
IntlChar::JG_MANICHAEAN_ONE;
public
const
int
IntlChar::JG_MANICHAEAN_PE;
public
const
int
IntlChar::JG_MANICHAEAN_QOPH;
public
const
int
IntlChar::JG_MANICHAEAN_RESH;
public
const
int
IntlChar::JG_MANICHAEAN_SADHE;
public
const
int
IntlChar::JG_MANICHAEAN_SAMEKH;
public
const
int
IntlChar::JG_MANICHAEAN_TAW;
public
const
int
IntlChar::JG_MANICHAEAN_TEN;
public
const
int
IntlChar::JG_MANICHAEAN_TETH;
public
const
int
IntlChar::JG_MANICHAEAN_THAMEDH;
public
const
int
IntlChar::JG_MANICHAEAN_TWENTY;
public
const
int
IntlChar::JG_MANICHAEAN_WAW;
public
const
int
IntlChar::JG_MANICHAEAN_YODH;
public
const
int
IntlChar::JG_MANICHAEAN_ZAYIN;
public
const
int
IntlChar::JG_STRAIGHT_WAW;
public
const
int
IntlChar::JG_COUNT;
public
const
int
IntlChar::GCB_OTHER;
public
const
int
IntlChar::GCB_CONTROL;
public
const
int
IntlChar::GCB_CR;
public
const
int
IntlChar::GCB_EXTEND;
public
const
int
IntlChar::GCB_L;
public
const
int
IntlChar::GCB_LF;
public
const
int
IntlChar::GCB_LV;
public
const
int
IntlChar::GCB_LVT;
public
const
int
IntlChar::GCB_T;
public
const
int
IntlChar::GCB_V;
public
const
int
IntlChar::GCB_SPACING_MARK;
public
const
int
IntlChar::GCB_PREPEND;
public
const
int
IntlChar::GCB_REGIONAL_INDICATOR;
public
const
int
IntlChar::GCB_COUNT;
public
const
int
IntlChar::WB_OTHER;
public
const
int
IntlChar::WB_ALETTER;
public
const
int
IntlChar::WB_FORMAT;
public
const
int
IntlChar::WB_KATAKANA;
public
const
int
IntlChar::WB_MIDLETTER;
public
const
int
IntlChar::WB_MIDNUM;
public
const
int
IntlChar::WB_NUMERIC;
public
const
int
IntlChar::WB_EXTENDNUMLET;
public
const
int
IntlChar::WB_CR;
public
const
int
IntlChar::WB_EXTEND;
public
const
int
IntlChar::WB_LF;
public
const
int
IntlChar::WB_MIDNUMLET;
public
const
int
IntlChar::WB_NEWLINE;
public
const
int
IntlChar::WB_REGIONAL_INDICATOR;
public
const
int
IntlChar::WB_HEBREW_LETTER;
public
const
int
IntlChar::WB_SINGLE_QUOTE;
public
const
int
IntlChar::WB_DOUBLE_QUOTE;
public
const
int
IntlChar::WB_COUNT;
public
const
int
IntlChar::SB_OTHER;
public
const
int
IntlChar::SB_ATERM;
public
const
int
IntlChar::SB_CLOSE;
public
const
int
IntlChar::SB_FORMAT;
public
const
int
IntlChar::SB_LOWER;
public
const
int
IntlChar::SB_NUMERIC;
public
const
int
IntlChar::SB_OLETTER;
public
const
int
IntlChar::SB_SEP;
public
const
int
IntlChar::SB_SP;
public
const
int
IntlChar::SB_STERM;
public
const
int
IntlChar::SB_UPPER;
public
const
int
IntlChar::SB_CR;
public
const
int
IntlChar::SB_EXTEND;
public
const
int
IntlChar::SB_LF;
public
const
int
IntlChar::SB_SCONTINUE;
public
const
int
IntlChar::SB_COUNT;
public
const
int
IntlChar::LB_UNKNOWN;
public
const
int
IntlChar::LB_AMBIGUOUS;
public
const
int
IntlChar::LB_ALPHABETIC;
public
const
int
IntlChar::LB_BREAK_BOTH;
public
const
int
IntlChar::LB_BREAK_AFTER;
public
const
int
IntlChar::LB_BREAK_BEFORE;
public
const
int
IntlChar::LB_MANDATORY_BREAK;
public
const
int
IntlChar::LB_CONTINGENT_BREAK;
public
const
int
IntlChar::LB_CLOSE_PUNCTUATION;
public
const
int
IntlChar::LB_COMBINING_MARK;
public
const
int
IntlChar::LB_CARRIAGE_RETURN;
public
const
int
IntlChar::LB_EXCLAMATION;
public
const
int
IntlChar::LB_GLUE;
public
const
int
IntlChar::LB_HYPHEN;
public
const
int
IntlChar::LB_IDEOGRAPHIC;
public
const
int
IntlChar::LB_INSEPARABLE;
public
const
int
IntlChar::LB_INSEPERABLE;
public
const
int
IntlChar::LB_INFIX_NUMERIC;
public
const
int
IntlChar::LB_LINE_FEED;
public
const
int
IntlChar::LB_NONSTARTER;
public
const
int
IntlChar::LB_NUMERIC;
public
const
int
IntlChar::LB_OPEN_PUNCTUATION;
public
const
int
IntlChar::LB_POSTFIX_NUMERIC;
public
const
int
IntlChar::LB_PREFIX_NUMERIC;
public
const
int
IntlChar::LB_QUOTATION;
public
const
int
IntlChar::LB_COMPLEX_CONTEXT;
public
const
int
IntlChar::LB_SURROGATE;
public
const
int
IntlChar::LB_SPACE;
public
const
int
IntlChar::LB_BREAK_SYMBOLS;
public
const
int
IntlChar::LB_ZWSPACE;
public
const
int
IntlChar::LB_NEXT_LINE;
public
const
int
IntlChar::LB_WORD_JOINER;
public
const
int
IntlChar::LB_H2;
public
const
int
IntlChar::LB_H3;
public
const
int
IntlChar::LB_JL;
public
const
int
IntlChar::LB_JT;
public
const
int
IntlChar::LB_JV;
public
const
int
IntlChar::LB_CLOSE_PARENTHESIS;
public
const
int
IntlChar::LB_CONDITIONAL_JAPANESE_STARTER;
public
const
int
IntlChar::LB_HEBREW_LETTER;
public
const
int
IntlChar::LB_REGIONAL_INDICATOR;
public
const
int
IntlChar::LB_COUNT;
public
const
int
IntlChar::NT_NONE;
public
const
int
IntlChar::NT_DECIMAL;
public
const
int
IntlChar::NT_DIGIT;
public
const
int
IntlChar::NT_NUMERIC;
public
const
int
IntlChar::NT_COUNT;
public
const
int
IntlChar::HST_NOT_APPLICABLE;
public
const
int
IntlChar::HST_LEADING_JAMO;
public
const
int
IntlChar::HST_VOWEL_JAMO;
public
const
int
IntlChar::HST_TRAILING_JAMO;
public
const
int
IntlChar::HST_LV_SYLLABLE;
public
const
int
IntlChar::HST_LVT_SYLLABLE;
public
const
int
IntlChar::HST_COUNT;
public
const
int
IntlChar::FOLD_CASE_DEFAULT;
public
const
int
IntlChar::FOLD_CASE_EXCLUDE_SPECIAL_I;
/* メソッド */
public static arraynull charAge(intstring
$codepoint )public static intnull charDigitValue(intstring
$codepoint )public static intnull charDirection(intstring
$codepoint )public static intnull charFromName(string
$name , int $type = IntlChar::UNICODE_CHAR_NAME)public static intstringnull charMirror(intstring
$codepoint )public static stringnull charName(intstring
$codepoint , int $type = IntlChar::UNICODE_CHAR_NAME)public static intnull charType(intstring
$codepoint )public static stringnull chr(intstring
$codepoint )public static intfalsenull digit(intstring
$codepoint , int $base = 10)public static bool enumCharNames(
intstring $start ,intstring $end ,callable $callback ,int $type = IntlChar::UNICODE_CHAR_NAME) public static void enumCharTypes(callable
$callback )public static intstringnull foldCase(intstring
$codepoint , int $options = IntlChar::FOLD_CASE_DEFAULT)public static int forDigit(int
$digit , int $base = 10)public static intstringnull getBidiPairedBracket(intstring
$codepoint )public static intnull getBlockCode(intstring
$codepoint )public static intnull getCombiningClass(intstring
$codepoint )public static stringfalsenull getFC_NFKC_Closure(intstring
$codepoint )public static int getIntPropertyMaxValue(int
$property )public static int getIntPropertyMinValue(int
$property )public static intnull getIntPropertyValue(intstring
$codepoint , int $property )public static floatnull getNumericValue(intstring
$codepoint )public static int getPropertyEnum(string
$alias )public static stringfalse getPropertyName(int
$property , int $type = IntlChar::LONG_PROPERTY_NAME)public static int getPropertyValueEnum(int
$property , string $name )public static stringfalse getPropertyValueName(int
$property , int $value , int $type = IntlChar::LONG_PROPERTY_NAME)public static array getUnicodeVersion()
public static boolnull hasBinaryProperty(intstring
$codepoint , int $property )public static boolnull isalnum(intstring
$codepoint )public static boolnull isalpha(intstring
$codepoint )public static boolnull isbase(intstring
$codepoint )public static boolnull isblank(intstring
$codepoint )public static boolnull iscntrl(intstring
$codepoint )public static boolnull isdefined(intstring
$codepoint )public static boolnull isdigit(intstring
$codepoint )public static boolnull isgraph(intstring
$codepoint )public static boolnull isIDIgnorable(intstring
$codepoint )public static boolnull isIDPart(intstring
$codepoint )public static boolnull isIDStart(intstring
$codepoint )public static boolnull isISOControl(intstring
$codepoint )public static boolnull isJavaIDPart(intstring
$codepoint )public static boolnull isJavaIDStart(intstring
$codepoint )public static boolnull isJavaSpaceChar(intstring
$codepoint )public static boolnull islower(intstring
$codepoint )public static boolnull isMirrored(intstring
$codepoint )public static boolnull isprint(intstring
$codepoint )public static boolnull ispunct(intstring
$codepoint )public static boolnull isspace(intstring
$codepoint )public static boolnull istitle(intstring
$codepoint )public static boolnull isUAlphabetic(intstring
$codepoint )public static boolnull isULowercase(intstring
$codepoint )public static boolnull isupper(intstring
$codepoint )public static boolnull isUUppercase(intstring
$codepoint )public static boolnull isUWhiteSpace(intstring
$codepoint )public static boolnull isWhitespace(intstring
$codepoint )public static boolnull isxdigit(intstring
$codepoint )public static intnull ord(intstring
$character )public static intstringnull tolower(intstring
$codepoint )public static intstringnull totitle(intstring
$codepoint )public static intstringnull toupper(intstring
$codepoint )定義済み定数
変更履歴
intl のエラー用の例外クラスはじめにこのクラスは、intl 関数の内部でエラーが発生したときに例外を生成するために使います。 例外が生成されるのは、intl.use_exceptions が有効な場合だけです。 クラス概要
IntlException
extends
Exception
/* 継承したプロパティ */
protected
string
$message = "";
private
string
$string = "";
protected
int
$code;
protected
string
$file = "";
protected
int
$line;
private
array
$trace = [];
private
Throwablenull
$previous = null;
/* 継承したメソッド */
public __construct(string
$message = "", int $code = 0, Throwablenull $previous = null )final public string getMessage()
final public Throwablenull getPrevious()
final public int getCode()
final public string getFile()
final public int getLine()
final public array getTrace()
final public string getTraceAsString()
public string __toString()
private void __clone()
IntlIterator クラスはじめに
このクラスは、intl 拡張モジュール全体を通じて、
拡張モジュールが提供する他のいかなるオブジェクトでも認識できない
イテレータを表現します。
言語構造
このクラスのサブクラスは、 もっと豊かな機能を提供しています。 クラス概要
IntlIterator
implements
Iterator
/* メソッド */
public mixed current()
public mixed key()
public void next()
public void rewind()
public bool valid()
|