« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for フォーマッター (0.004 sec.)
IntlDateFormatter::format — 日付/時刻 の値を文字列としてフォーマットする | PHP ... 11472
IntlDateFormatter::format datefmt_format (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::format -- datefmt_format — 日付/時刻 の値を文字列としてフォーマットする 説明 オブジェクト指向型 public function IntlDateFormatter ... あるいは IntlCalendar オブジェクトを渡した場合は、 そのタイムゾーンは考慮しません。これらをフォーマットするときに使うのは、 フォーマッターで設定されているタイムゾーンです。 渡したオブジェクトのタイムゾーンを使って欲しい場合は、 IntlDateFormatter::setTimeZone() を ... _MILLISECOND ); echo "In this islamic year, Ramadan started/will start on:\n\t" , $formatter -> format ( $cal ), "\n" ; // フォーマッターのタイムゾーンを利用します $formatter -> setTimeZone ( 'Asia/Tokyo' ); echo "After changing timezone:\n\t" , $formatter -> f ...
https://man.mtool.work/php/8.3/intldateformatter.format.html
IntlDateFormatter::getCalendarObject — カレンダーオブジェクトのコピーを取得する... 10589
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 — カレンダーオブジェクトのコピーを取得する 説明 オブジェ ... lse | null 手続き型 function datefmt_get_calendar_object ( IntlDateFormatter $formatter ): IntlCalendar | false | null このフォーマッターが内部的に使うカレンダーオブジェクトのコピーを取得します。 このカレンダーには型 (gregorian、japanese、buddhist、roc、persian ... 、 islamic など) やタイムゾーンが設定されており、フォーマッターが使っている型やタイムゾーンと一致します。 オブジェクトの日付や時刻は指定されていません。 パラメータ この関数にはパラメータは ... ありません。 戻り値 このフォーマッターが内部的に使うカレンダーオブジェクトのコピーを返します。 何も設定されなかった場合は null を返します。 失敗した場合に false を ...
https://man.mtool.work/php/8.3/intldateformatter.getcalendarobject.html
IntlDateFormatter::setCalendar — Formatter が使うカレンダー型を設定する | PHP 8... 9762
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 ... ol 手続き型 function datefmt_set_calendar ( IntlDateFormatter $formatter , IntlCalendar | int | null $calendar ): bool このフォーマッターが使用するカレンダーあるいはカレンダー型を設定します。 パラメータ formatter フォーマッターリソース。 calendar 使用する カレン ... ト。 IntlCalendar オブジェクトが渡された場合は、それをクローンします。 引数として渡したオブジェクトは、何も変更されません。 フォーマッターのタイムゾーンを残すのは IntlCalendar オブジェクトが渡されなかった場合だけで、 このオブジェクトが渡された場合は新しいタイムゾ ...
https://man.mtool.work/php/8.3/intldateformatter.setcalendar.html
IntlDateFormatter::parseToCalendar — 文字列をパースしてタイムスタンプにし、使用... 7335
IntlDateFormatter::parseToCalendar (PHP 8 >= 8.4.0) IntlDateFormatter::parseToCalendar — 文字列をパースしてタイムスタンプにし、使用中のカレンダーを更新する 説明 public function IntlDateFormatter::parseToCalendar ( string $string , int &$off ... ます。 このメソッドは IntlDateFormatter::parse() と同様に動作しますが、パースした string に含まれるタイムゾーン情報に応じて、フォーマッターのタイムゾーンが更新される点が異なります。 パラメータ string 時間に変換する文字列。 offset string のパースを開始する位置 (ゼ ...
https://man.mtool.work/php/8.3/intldateformatter.parsetocalendar.html
IntlDateFormatter::setTimeZone — タイムゾーンを設定する | PHP 8.3 6765
IntlDateFormatter::setTimeZone datefmt_set_timezone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL intl >= 3.0.0) IntlDateFormatter::setTimeZone -- datefmt_set_timezone — タイムゾーンを設定する 説明 オブジェクト指向型 public function IntlDateFormatter ... meZone | string | null $timezone ): bool IntlDateFormatter によって使われるタイムゾーンを設定します。 パラメータ formatter フォーマッターのリソース timezone 利用するタイムゾーン。次の形式で指定できます。 null 。この場合はデフォルトのタイムゾーンを使います。デフ ...
https://man.mtool.work/php/8.3/intldateformatter.settimezone.html
PREV 1 NEXT