« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for getCalendar (0.001 sec.)
IntlDateFormatter::getCalendar — IntlDateFormatter が使用するカレンダー型を取得... 12777
IntlDateFormatter::getCalendar datefmt_get_calendar (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::getCalendar -- datefmt_get_calendar — IntlDateFormatter が使用するカレンダー型を取得する 説明 オブジェクト指向型 publi ... c function IntlDateFormatter::getCalendar (): int | false 手続き型 function datefmt_get_calendar ( IntlDateFormatter $formatter ): int | false パラメータ formatter ... atter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'calendar of the formatter is : ' . $fmt -> getCalendar (); $fmt -> setCalendar ( IntlDateFormatter :: TRADITIONAL ); echo 'Now calendar of the formatter is : ' . $fmt -> getCale ... le' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'dunno' , IntlDateFormatter :: GREGORIAN , ); $cal = $fmt -> getCalendar (); } catch ( \Error $e ) { // ... } ?> 上の例の出力は以下となります。 calendar of the formatter is : 1 Now calendar of th ...
https://man.mtool.work/php/8.3/intldateformatter.getcalendar.html
IntlDateFormatter::setCalendar — Formatter が使うカレンダー型を設定する | PHP 8... 8787
IntlDateFormatter::setCalendar datefmt_set_calendar (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::setCalendar -- datefmt_set_calendar — Formatter が使うカレンダー型を設定する 説明 オブジェクト指向型 public function I ... atter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'calendar of the formatter is : ' . $fmt -> getCalendar (); $fmt -> setCalendar ( IntlDateFormatter :: TRADITIONAL ); echo 'Now calendar of the formatter is : ' . $fmt -> getCale ...
https://man.mtool.work/php/8.3/intldateformatter.setcalendar.html
IntlDateFormatter クラス | PHP 8.3 8438
IntlDateFormatter クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) はじめに Date Formatter は、パターン文字列や出来合いのパターンを使用して ロケールに依存する日付のフォーマット/パースを行う具象クラスです。 このクラスは ICU の日付フ ... terface $datetime , array | int | string | null $format = null , ? string $locale = null ): string | false public function getCalendar (): int | false public function getDateType (): int | false public function getErrorCode (): int public function getErrorM ... tring | false public function getTimeType (): int | false public function getTimeZoneId (): string | false public function getCalendarObject (): IntlCalendar | false | null public function getTimeZone (): IntlTimeZone | false public function isLenient (): b ... /時刻 の値を文字列としてフォーマットする IntlDateFormatter::formatObject — オブジェクトの書式を設定する IntlDateFormatter::getCalendar — IntlDateFormatter が使用するカレンダー型を取得する IntlDateFormatter::getDateType — IntlDateFormatter が使用する日付形式 ...
https://man.mtool.work/php/8.3/class.intldateformatter.html
IntlDateFormatter::getCalendarObject — カレンダーオブジェクトのコピーを取得する... 8254
IntlDateFormatter::getCalendarObject datefmt_get_calendar_object (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL intl >= 3.0.0) IntlDateFormatter::getCalendarObject -- datefmt_get_calendar_object — カレンダーオブジェクトのコピーを取得する 説明 オブジェ ... クト指向型 public function IntlDateFormatter::getCalendarObject (): IntlCalendar | false | null 手続き型 function datefmt_get_calendar_object ( IntlDateFormatter $formatter ): Intl ... のコピーを返します。 何も設定されなかった場合は null を返します。 失敗した場合に false を返します 例 例1 IntlDateFormatter::getCalendarObject() の例 <?php $formatter = IntlDateFormatter :: create ( "fr_FR@calendar=islamic" , NULL , NULL , "GMT-01:00" , IntlD ... ateFormatter :: TRADITIONAL ); $cal = $formatter -> getCalendarObject (); var_dump ( $cal -> getType (), $cal -> getTimeZone (), $cal -> getLocale ( Locale :: VALID_LOCALE ) ); 上の例の出 ...
https://man.mtool.work/php/8.3/intldateformatter.getcalendarobject.html
国際化関数 | PHP 8.3 7648
国際化関数 はじめに 国際化用拡張モジュール (これ以降では Intl と略します) は » ICU ライブラリのラッパーです。 PHP プログラマが、ロケール関連のさまざまな操作を行えるようにします。 フォーマット、音訳、エンコード変換、カレンダーの処理、 » UCA ... /時刻 の値を文字列としてフォーマットする IntlDateFormatter::formatObject — オブジェクトの書式を設定する IntlDateFormatter::getCalendar — IntlDateFormatter が使用するカレンダー型を取得する IntlDateFormatter::getDateType — IntlDateFormatter が使用する日付形式 ... 形式を取得する IntlDateFormatter::getTimeZoneId — IntlDateFormatter が使用するタイムゾーン ID を取得する IntlDateFormatter::getCalendarObject — カレンダーオブジェクトのコピーを取得する IntlDateFormatter::getTimeZone — タイムゾーンを取得する IntlDateFormatter ...
https://man.mtool.work/php/8.3/book.intl.html
PREV 1 NEXT