am 4b5da86d: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]

* commit '4b5da86d04200ba278b62ff99da91e212b87e9af':
  Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
This commit is contained in:
Deepanshu Gupta
2014-05-13 01:52:32 +00:00
committed by Android Git Automerger

View File

@@ -171,10 +171,13 @@ public class ICU_Delegate {
result.longStandAloneMonthNames = result.longMonthNames;
result.shortStandAloneMonthNames = result.shortMonthNames;
// The platform code expects this to begin at index 1, rather than 0. It maps it directly to
// the constants from java.util.Calendar.<weekday>
result.longWeekdayNames = new String[] {
"Monday" ,"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
"", "Sunday", "Monday" ,"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
result.shortWeekdayNames = new String[] {
"Mon" ,"Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
"", "Sun", "Mon" ,"Tue", "Wed", "Thu", "Fri", "Sat" };
result.longStandAloneWeekdayNames = result.longWeekdayNames;
result.shortStandAloneWeekdayNames = result.shortWeekdayNames;