Qt/Qlocale has a weekdays() method which gives you the week-days for a locale.
Android only seems to have the Calendar.getFirstDayOfWeek()
method which doesn't help - en_GB and en_US have Monday and Sunday as the first day of the week in calendars respectively, but both locales define Saturday/Sunday as the weekend.
A similar question was asked, but it was put on hold: Does Android provide an API for determining weekend days that is locale-aware?