I18Nv2_Locale::setDateFormat

I18Nv2_Locale::setDateFormat() – 日付の書式を設定する

Synopsis

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setDateFormat ( int $format , bool $custom = = false )

Description

使用する日付の書式を設定します。

I18Nv2_DATETIME 定数あるいは独自の日付書式を指定します。

Parameter

integer $format

I18Nv2_DATETIME 定数

boolean $custom

定義済みの独自書式を使用するかどうか。

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.