Back to Language class

Method getFirstDay

public int
getFirstDay
()
Get the first day of the week for this language.
Returns
  • int The first day of the week according to the language
Since
  • 1.7.0
Class: Language
Project: Joomla

Method getFirstDay - Source code

/**
 * Get the first day of the week for this language.
 *
 * @return  integer  The first day of the week according to the language
 *
 * @since   1.7.0
 */
public function getFirstDay()
{
    return (int) ($this->metadata['firstDay'] ?? 0);
}