I18Nv2_Locale::dayName()

I18Nv2_Locale::dayName()  -- Get local day name

概要

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::dayName (int $weekday [, bool $short = FALSE])

説明

Get the local textual representation of a weekday.

パラメータ

integer $weekday

numerical representation of weekday (0 = Sunday, 1 = Monday, ...)

boolean $short

whether to return the abbreviation

返り値

Returns string name of weekday on success or PEAR_Error on failure.

注意

この関数は、スタティックにコールする ことはできません。