GB_Locale::get_weekday
Retrieve the full translated weekday word.
Week starts on translated Sunday and can be fetched by using 0 (zero). So the week starts with 0 (zero) and ends on Saturday with is fetched by using 6 (six).
Signature
public function get_weekday(int
$weekday_number )
Parameters
$weekday_number
— int
0 for Sunday through 6 Saturday
Returns
- string
- Full translated weekday
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
226 | 5 | error | Method name "GB_Locale::get_weekday" is not in camel caps format |
226 | 5 | error | Visibility must be declared on method "get_weekday" |