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