Home
last modified time | relevance | path

Searched refs:calendars (Results 1 – 15 of 15) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCalendarTests.java44 Calendar calendars[] = new Calendar[locales.length]; in getTestObjects() local
47 calendars[i] = Calendar.getInstance(pst, locales[i]); in getTestObjects()
50 return calendars; in getTestObjects()
75 BuddhistCalendar calendars[] = new BuddhistCalendar[locales.length]; in getTestObjects() local
78 calendars[i] = new BuddhistCalendar(tst, locales[i]); in getTestObjects()
81 return calendars; in getTestObjects()
91 ChineseCalendar calendars[] = new ChineseCalendar[locales.length]; in getTestObjects() local
94 calendars[i] = new ChineseCalendar(cst, locales[i]); in getTestObjects()
97 return calendars; in getTestObjects()
107 CopticCalendar calendars[] = new CopticCalendar[locales.length]; in getTestObjects() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCalendarTests.java43 Calendar calendars[] = new Calendar[locales.length]; in getTestObjects() local
46 calendars[i] = Calendar.getInstance(pst, locales[i]); in getTestObjects()
49 return calendars; in getTestObjects()
74 BuddhistCalendar calendars[] = new BuddhistCalendar[locales.length]; in getTestObjects() local
77 calendars[i] = new BuddhistCalendar(tst, locales[i]); in getTestObjects()
80 return calendars; in getTestObjects()
90 ChineseCalendar calendars[] = new ChineseCalendar[locales.length]; in getTestObjects() local
93 calendars[i] = new ChineseCalendar(cst, locales[i]); in getTestObjects()
96 return calendars; in getTestObjects()
106 CopticCalendar calendars[] = new CopticCalendar[locales.length]; in getTestObjects() local
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarCalc.java125 patternText.setText( calendars[0].toPattern() ); in init()
181 for (int i = 0; i < calendars.length; i++) in buildGUI()
183 Label label = new Label(calendars[i].name, Label.RIGHT); in buildGUI()
187 topPanel.add(calendars[i].text); in buildGUI()
190 calendars[i].text.addActionListener( new ActionListener() { in buildGUI()
196 calendars[i].rollAdd.setCheckboxGroup(group1); in buildGUI()
197 topPanel.add(calendars[i].rollAdd); in buildGUI()
199 calendars[0].rollAdd.setState(true); // Make the first one selected in buildGUI()
304 for (int i = 0; i < calendars.length; i++) { in buildGUI()
305 calendars[i].setLocale(loc); in buildGUI()
[all …]
DCalendarFrame.java89 private Calendar calendars[] = new Calendar[2]; field in CalendarFrame
141 calendars[i] = CALENDARS[i].calendar; in init()
243 calendarPanel.setCalendar(i, calendars[i]); in init()
257 calendars[i], DateFormat.MEDIUM, -1, in updateMonthName()
293 if (newCal != calendars[i]) in itemStateChanged()
298 for (int j = 0; j < calendars.length; j++) { in itemStateChanged()
299 if (j != i && calendars[j] == newCal) { in itemStateChanged()
300 calendars[j] = calendars[i]; in itemStateChanged()
301 calendarPanel.setCalendar(j, calendars[j]); in itemStateChanged()
305 if (calendars[j] == CALENDARS[k].calendar) { in itemStateChanged()
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java88 private static final Locale[] calendars = { field in HolidayCalendarDemo.CalendarFrame
198 for (int i = 0; i < calendars.length; i++) { in buildGUI()
200 calendars[i].getCountry().equals(calendars[i-1].getCountry()) || in buildGUI()
201 i < calendars.length - 1 && in buildGUI()
202 calendars[i].getCountry().equals(calendars[i+1].getCountry())) in buildGUI()
204 localeMenu.addItem(calendars[i].getDisplayCountry() + " (" + in buildGUI()
205 calendars[i].getDisplayLanguage() + ")"); in buildGUI()
207 localeMenu.addItem( calendars[i].getDisplayCountry() ); in buildGUI()
210 if (calendars[i].equals(kFirstLocale)) { in buildGUI()
378 calendarPanel.setCalendarLocale(calendars[localeMenu.getSelectedIndex()]); in itemStateChanged()
/external/libmtp/examples/
Devolution-sync.sh48 mkdir $SYNC_HOME/calendars
67 $SYNC_HOME/calendars/*.ics > $SYNC_HOME/$CALENDAR_FILE
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3434 Calendar *calendars[] = { in TestRoundtripWithCalendar() local
3444 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3445 delete calendars[i]; in TestRoundtripWithCalendar()
3472 calendars[i]->setTime(d, status); in TestRoundtripWithCalendar()
3476 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3479 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3486 calendars[j]->setTime(d, status); in TestRoundtripWithCalendar()
3490 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3493 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3494 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
[all …]
Dcalregts.cpp1905 GregorianCalendar *calendars [] = { in Test4167060() local
1922 GregorianCalendar *calendar = calendars[j]; in Test4167060()
1975 delete calendars[0]; in Test4167060()
1976 delete calendars[1]; in Test4167060()
1977 delete calendars[2]; in Test4167060()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3629 final Calendar[] calendars = { in TestRoundtripWithCalendar() local
3660 calendars[i].setTime(d); in TestRoundtripWithCalendar()
3664 formatters[i].format(calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3667 for (int j = 0; j < calendars.length; j++) { in TestRoundtripWithCalendar()
3674 calendars[j].setTime(d); in TestRoundtripWithCalendar()
3678 formatters[i].format(calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3681 + "\n Reference calendar type=" + calendars[i].getType() in TestRoundtripWithCalendar()
3682 + "\n Another calendar type=" + calendars[j].getType() in TestRoundtripWithCalendar()
3688 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar()
3689 calendars[i].clear(); in TestRoundtripWithCalendar()
[all …]
DIntlTestDateFormatSymbols.java564 Calendar[] calendars = new Calendar[TestLocales.length]; in TestConstructorWithCalendar() local
566 calendars[i] = Calendar.getInstance(TestLocales[i]); in TestConstructorWithCalendar()
572 … symbols[i] = new DateFormatSymbols(calendars[i], new ULocale(TestLocales[i].getBaseName())); in TestConstructorWithCalendar()
578 …DateFormatSymbols dfs = new DateFormatSymbols(calendars[i].getClass(), new ULocale(TestLocales[i].… in TestConstructorWithCalendar()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3625 final Calendar[] calendars = { in TestRoundtripWithCalendar() local
3656 calendars[i].setTime(d); in TestRoundtripWithCalendar()
3660 formatters[i].format(calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3663 for (int j = 0; j < calendars.length; j++) { in TestRoundtripWithCalendar()
3670 calendars[j].setTime(d); in TestRoundtripWithCalendar()
3674 formatters[i].format(calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3677 + "\n Reference calendar type=" + calendars[i].getType() in TestRoundtripWithCalendar()
3678 + "\n Another calendar type=" + calendars[j].getType() in TestRoundtripWithCalendar()
3684 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar()
3685 calendars[i].clear(); in TestRoundtripWithCalendar()
[all …]
DIntlTestDateFormatSymbols.java560 Calendar[] calendars = new Calendar[TestLocales.length]; in TestConstructorWithCalendar() local
562 calendars[i] = Calendar.getInstance(TestLocales[i]); in TestConstructorWithCalendar()
568 … symbols[i] = new DateFormatSymbols(calendars[i], new ULocale(TestLocales[i].getBaseName())); in TestConstructorWithCalendar()
574 …DateFormatSymbols dfs = new DateFormatSymbols(calendars[i].getClass(), new ULocale(TestLocales[i].… in TestConstructorWithCalendar()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegression.java1284 GregorianCalendar calendars[] = { in Test4167060() local
1295 for (int j=0; j<calendars.length; ++j) { in Test4167060()
1296 GregorianCalendar calendar = calendars[j]; in Test4167060()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java1280 GregorianCalendar calendars[] = { in Test4167060() local
1291 for (int j=0; j<calendars.length; ++j) { in Test4167060()
1292 GregorianCalendar calendar = calendars[j]; in Test4167060()
/external/chromium-trace/catapult/third_party/flot/
DAPI.md530 calendars don't follow a simple base 10 system. For many cases, Flot