« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for getSetFields (0.001 sec.)
単一または全てのフィールドをクリアする 9357
« IntlCalendar::before IntlCalendar::__construct » PHP Manual IntlCalendar 単一または全てのフィールドをクリアする 検索 IntlCalendar::clear (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::clear — 単一または全てのフィールドをクリ ... IAN_DAY' => 20 , 'FIELD_MILLISECONDS_IN_DAY' => 21 , 'FIELD_IS_LEAP_MONTH' => 22 , 'FIELD_FIELD_COUNT' => 23 , ); function getSetFields ( IntlCalendar $cal ) { global $fields ; $ret = array(); foreach ( $fields as $name => $value ) { if ( $cal -> isSet ( $va ... ; } $cal = new IntlGregorianCalendar ( 2013 , 2 /* March */ , 15 ); echo "After GregorianCalendar creation\n" ; print_r ( getSetFields ( $cal )); echo "\n" ; echo IntlDateFormatter :: formatObject ( $cal ), "\n" ; echo "After the formatter requested the ext ... ended year\n" ; print_r ( getSetFields ( $cal )); echo "\n" ; $cal -> clear ( IntlCalendar :: FIELD_YEAR ); echo "After the year has been cleared, the date stays ...
https://man.mtool.work/php/8.3/intlcalendar.clear.html
単一または全てのフィールドをクリアする 9357
« IntlCalendar::before IntlCalendar::__construct » PHP Manual IntlCalendar 単一または全てのフィールドをクリアする 検索 IntlCalendar::clear (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::clear — 単一または全てのフィールドをクリ ... IAN_DAY' => 20 , 'FIELD_MILLISECONDS_IN_DAY' => 21 , 'FIELD_IS_LEAP_MONTH' => 22 , 'FIELD_FIELD_COUNT' => 23 , ); function getSetFields ( IntlCalendar $cal ) { global $fields ; $ret = array(); foreach ( $fields as $name => $value ) { if ( $cal -> isSet ( $va ... ; } $cal = new IntlGregorianCalendar ( 2013 , 2 /* March */ , 15 ); echo "After GregorianCalendar creation\n" ; print_r ( getSetFields ( $cal )); echo "\n" ; echo IntlDateFormatter :: formatObject ( $cal ), "\n" ; echo "After the formatter requested the ext ... ended year\n" ; print_r ( getSetFields ( $cal )); echo "\n" ; $cal -> clear ( IntlCalendar :: FIELD_YEAR ); echo "After the year has been cleared, the date stays ...
https://man.mtool.work/php/8.3/intlcalendar.clear.html
PREV 1 NEXT