| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
IntlDateFormatter::setCalendardatefmt_set_calendar(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::setCalendar -- datefmt_set_calendar — Formatter が使うカレンダー型を設定する 説明オブジェクト指向型 手続き型 このフォーマッターが使用するカレンダーあるいはカレンダー型を設定します。 パラメータ
返り値
成功した場合に 例例1 datefmt_set_calendar() の例
<?php 例2 オブジェクト指向の例
<?php 上の例の出力は以下となります。 calendar of the formatter is : 1 Now calendar of the formatter is : 0 例3 引数に IntlCalendar を使う例
<?php 上の例の出力は以下となります。 before: Sunday, March 3, 2013 at 1:00:00 AM Central European Standard Time after: Saturday, Rabi? II 20, 1434 at 7:00:00 PM Eastern Standard Time 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「IntlDateFormatter::setCalendar - Formatter が使うカレンダー型を設定する」をGoogle検索
|