-
-
Save jezinka/dec87975f5f4cff0bfc66afc71b87dfd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ArrayList<String> getListOfWeekdays() { | |
ArrayList<String> weekdays = new ArrayList<String>(); | |
for (int i = 1; i <= 7; i++) { | |
weekdays.add(new DateFormatSymbols().getWeekdays()[i]); | |
} | |
Collections.rotate(weekdays, 1); | |
return weekdays; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment