I18Nv2_Locale::dayName()

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

Synopsis

require_once 'I18Nv2/Locale.php';

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

Description

Get the local textual representation of a weekday.

Paramètres

entier $weekday

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

booléen $short

whether to return the abbreviation

Valeur retournée

Returns chaîne de caractères name of weekday on success or PEAR_Error on failure.

Note

Cette fonction ne peut pas être appelée de façon statique.