getWeekEndStart method
Returns the day of week that starts weekend in the current locale.
Days are still numbered the standard way with 0 for Sunday through 6 for Saturday.
Implementation
int getWeekEndStart() {
final String jscode1 = 'new LocaleInfo("$locale").getWeekEndStart()';
final String result = ILibJS.instance.evaluate(jscode1).stringResult;
return int.parse(result);
}