Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCalendarHandler.java75 Calendar calendars[] = new Calendar[locales.length]; in getTestObjects() local
78 calendars[i] = Calendar.getInstance(pst, locales[i]); in getTestObjects()
81 return calendars; in getTestObjects()
92 BuddhistCalendar calendars[] = new BuddhistCalendar[locales.length]; in getTestObjects() local
95 calendars[i] = new BuddhistCalendar(tst, locales[i]); in getTestObjects()
98 return calendars; in getTestObjects()
109 ChineseCalendar calendars[] = new ChineseCalendar[locales.length]; in getTestObjects() local
112 calendars[i] = new ChineseCalendar(cst, locales[i]); in getTestObjects()
115 return calendars; in getTestObjects()
126 CopticCalendar calendars[] = new CopticCalendar[locales.length]; in getTestObjects() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCalendarHandler.java74 Calendar calendars[] = new Calendar[locales.length]; in getTestObjects() local
77 calendars[i] = Calendar.getInstance(pst, locales[i]); in getTestObjects()
80 return calendars; in getTestObjects()
91 BuddhistCalendar calendars[] = new BuddhistCalendar[locales.length]; in getTestObjects() local
94 calendars[i] = new BuddhistCalendar(tst, locales[i]); in getTestObjects()
97 return calendars; in getTestObjects()
108 ChineseCalendar calendars[] = new ChineseCalendar[locales.length]; in getTestObjects() local
111 calendars[i] = new ChineseCalendar(cst, locales[i]); in getTestObjects()
114 return calendars; in getTestObjects()
125 CopticCalendar calendars[] = new CopticCalendar[locales.length]; in getTestObjects() local
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarCalc.java127 patternText.setText( calendars[0].toPattern() ); in init()
183 for (int i = 0; i < calendars.length; i++) in buildGUI()
185 Label label = new Label(calendars[i].name, Label.RIGHT); in buildGUI()
189 topPanel.add(calendars[i].text); in buildGUI()
192 calendars[i].text.addActionListener( new ActionListener() { in buildGUI()
198 calendars[i].rollAdd.setCheckboxGroup(group1); in buildGUI()
199 topPanel.add(calendars[i].rollAdd); in buildGUI()
201 calendars[0].rollAdd.setState(true); // Make the first one selected in buildGUI()
306 for (int i = 0; i < calendars.length; i++) { in buildGUI()
307 calendars[i].setLocale(loc); in buildGUI()
[all …]
DCalendarFrame.java91 private Calendar calendars[] = new Calendar[2]; field in CalendarFrame
143 calendars[i] = CALENDARS[i].calendar; in init()
245 calendarPanel.setCalendar(i, calendars[i]); in init()
259 calendars[i], DateFormat.MEDIUM, -1, in updateMonthName()
295 if (newCal != calendars[i]) in itemStateChanged()
300 for (int j = 0; j < calendars.length; j++) { in itemStateChanged()
301 if (j != i && calendars[j] == newCal) { in itemStateChanged()
302 calendars[j] = calendars[i]; in itemStateChanged()
303 calendarPanel.setCalendar(j, calendars[j]); in itemStateChanged()
307 if (calendars[j] == CALENDARS[k].calendar) { in itemStateChanged()
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java90 private static final Locale[] calendars = { field in HolidayCalendarDemo.CalendarFrame
200 for (int i = 0; i < calendars.length; i++) { in buildGUI()
202 calendars[i].getCountry().equals(calendars[i-1].getCountry()) || in buildGUI()
203 i < calendars.length - 1 && in buildGUI()
204 calendars[i].getCountry().equals(calendars[i+1].getCountry())) in buildGUI()
206 localeMenu.addItem(calendars[i].getDisplayCountry() + " (" + in buildGUI()
207 calendars[i].getDisplayLanguage() + ")"); in buildGUI()
209 localeMenu.addItem( calendars[i].getDisplayCountry() ); in buildGUI()
212 if (calendars[i].equals(kFirstLocale)) { in buildGUI()
380 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.cpp3447 Calendar *calendars[] = { in TestRoundtripWithCalendar() local
3457 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3458 delete calendars[i]; in TestRoundtripWithCalendar()
3485 calendars[i]->setTime(d, status); in TestRoundtripWithCalendar()
3489 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3492 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3499 calendars[j]->setTime(d, status); in TestRoundtripWithCalendar()
3503 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3506 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3507 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
[all …]
Dcalregts.cpp1907 GregorianCalendar *calendars [] = { in Test4167060() local
1924 GregorianCalendar *calendar = calendars[j]; in Test4167060()
1977 delete calendars[0]; in Test4167060()
1978 delete calendars[1]; in Test4167060()
1979 delete calendars[2]; in Test4167060()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3676 final Calendar[] calendars = { in TestRoundtripWithCalendar() local
3707 calendars[i].setTime(d); in TestRoundtripWithCalendar()
3711 formatters[i].format(calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3714 for (int j = 0; j < calendars.length; j++) { in TestRoundtripWithCalendar()
3721 calendars[j].setTime(d); in TestRoundtripWithCalendar()
3725 formatters[i].format(calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3728 + "\n Reference calendar type=" + calendars[i].getType() in TestRoundtripWithCalendar()
3729 + "\n Another calendar type=" + calendars[j].getType() in TestRoundtripWithCalendar()
3735 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar()
3736 calendars[i].clear(); in TestRoundtripWithCalendar()
[all …]
DIntlTestDateFormatSymbols.java567 Calendar[] calendars = new Calendar[TestLocales.length]; in TestConstructorWithCalendar() local
569 calendars[i] = Calendar.getInstance(TestLocales[i]); in TestConstructorWithCalendar()
575 … symbols[i] = new DateFormatSymbols(calendars[i], new ULocale(TestLocales[i].getBaseName())); in TestConstructorWithCalendar()
581 …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.java3675 final Calendar[] calendars = { in TestRoundtripWithCalendar() local
3706 calendars[i].setTime(d); in TestRoundtripWithCalendar()
3710 formatters[i].format(calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3713 for (int j = 0; j < calendars.length; j++) { in TestRoundtripWithCalendar()
3720 calendars[j].setTime(d); in TestRoundtripWithCalendar()
3724 formatters[i].format(calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3727 + "\n Reference calendar type=" + calendars[i].getType() in TestRoundtripWithCalendar()
3728 + "\n Another calendar type=" + calendars[j].getType() in TestRoundtripWithCalendar()
3734 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar()
3735 calendars[i].clear(); in TestRoundtripWithCalendar()
[all …]
DIntlTestDateFormatSymbols.java566 Calendar[] calendars = new Calendar[TestLocales.length]; in TestConstructorWithCalendar() local
568 calendars[i] = Calendar.getInstance(TestLocales[i]); in TestConstructorWithCalendar()
574 … symbols[i] = new DateFormatSymbols(calendars[i], new ULocale(TestLocales[i].getBaseName())); in TestConstructorWithCalendar()
580 …DateFormatSymbols dfs = new DateFormatSymbols(calendars[i].getClass(), new ULocale(TestLocales[i].… in TestConstructorWithCalendar()
/external/icu/tools/srcgen/resources/
Dreplacements.txt120 * that that implements the Islamic civil and religious calendars. It
135 * synchronized with those of the other calendars and with local clock time,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java1315 GregorianCalendar calendars[] = { in Test4167060() local
1326 for (int j=0; j<calendars.length; ++j) { in Test4167060()
1327 GregorianCalendar calendar = calendars[j]; in Test4167060()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java1316 GregorianCalendar calendars[] = { in Test4167060() local
1327 for (int j=0; j<calendars.length; ++j) { in Test4167060()
1328 GregorianCalendar calendar = calendars[j]; in Test4167060()
/external/jline/src/src/test/resources/jline/example/
Denglish.gz