am a2b530fb: am e39de9ae: am 6335590a: Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
* commit 'a2b530fb7a11e5d0490daf5e9fea56ead5181caa': Fix DatePicker and Calendar widget in layoutlib. [DO NOT MERGE]
This commit is contained in:
@@ -171,12 +171,18 @@ public class ICU_Delegate {
|
|||||||
result.longStandAloneMonthNames = result.longMonthNames;
|
result.longStandAloneMonthNames = result.longMonthNames;
|
||||||
result.shortStandAloneMonthNames = result.shortMonthNames;
|
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[] {
|
result.longWeekdayNames = new String[] {
|
||||||
"Monday" ,"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
|
"", "Sunday", "Monday" ,"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
|
||||||
result.shortWeekdayNames = new String[] {
|
result.shortWeekdayNames = new String[] {
|
||||||
"Mon" ,"Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
|
"", "Sun", "Mon" ,"Tue", "Wed", "Thu", "Fri", "Sat" };
|
||||||
|
result.tinyWeekdayNames = new String[] {
|
||||||
|
"", "S", "M", "T", "W", "T", "F", "S" };
|
||||||
|
|
||||||
result.longStandAloneWeekdayNames = result.longWeekdayNames;
|
result.longStandAloneWeekdayNames = result.longWeekdayNames;
|
||||||
result.shortStandAloneWeekdayNames = result.shortWeekdayNames;
|
result.shortStandAloneWeekdayNames = result.shortWeekdayNames;
|
||||||
|
result.tinyStandAloneWeekdayNames = result.tinyWeekdayNames;
|
||||||
|
|
||||||
result.fullTimeFormat = "";
|
result.fullTimeFormat = "";
|
||||||
result.longTimeFormat = "";
|
result.longTimeFormat = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user