Home
last modified time | relevance | path

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

/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/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/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/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
DDateTimeShortcuts.js37 calendars: [], property
236 var num = DateTimeShortcuts.calendars.length;
292 …DateTimeShortcuts.calendars[num] = new Calendar(DateTimeShortcuts.calendarDivName2 + num, DateTime…
293 DateTimeShortcuts.calendars[num].drawCurrent();
330 DateTimeShortcuts.calendars[num].drawDate(month, year, selected);
356 DateTimeShortcuts.calendars[num].drawPreviousMonth();
359 DateTimeShortcuts.calendars[num].drawNextMonth();
/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.cpp3451 Calendar *calendars[] = { in TestRoundtripWithCalendar() local
3461 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3462 delete calendars[i]; in TestRoundtripWithCalendar()
3489 calendars[i]->setTime(d, status); in TestRoundtripWithCalendar()
3493 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3496 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3503 calendars[j]->setTime(d, status); in TestRoundtripWithCalendar()
3507 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3510 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3511 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
[all …]
Dcalregts.cpp1910 GregorianCalendar *calendars [] = { in Test4167060() local
1927 GregorianCalendar *calendar = calendars[j]; in Test4167060()
1980 delete calendars[0]; in Test4167060()
1981 delete calendars[1]; in Test4167060()
1982 delete calendars[2]; in Test4167060()
/external/python/cpython3/Doc/library/
Dcalendar.rst5 :synopsis: Functions for working with calendars, including some emulation
14 This module allows you to output calendars like the Unix :program:`cal` program,
16 these calendars have Monday as the first day of the week, and Sunday as the last
112 This class can be used to generate plain text calendars.
147 This class can be used to generate HTML calendars.
196 For simple text calendars this module provides the following functions.
/external/python/cpython2/Doc/library/
Dcalendar.rst5 :synopsis: Functions for working with calendars, including some emulation of the Unix cal
13 This module allows you to output calendars like the Unix :program:`cal` program,
15 these calendars have Monday as the first day of the week, and Sunday as the last
113 This class can be used to generate plain text calendars.
151 This class can be used to generate HTML calendars.
206 For simple text calendars this module provides the following functions.
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3679 final Calendar[] calendars = { in TestRoundtripWithCalendar() local
3710 calendars[i].setTime(d); in TestRoundtripWithCalendar()
3714 formatters[i].format(calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3717 for (int j = 0; j < calendars.length; j++) { in TestRoundtripWithCalendar()
3724 calendars[j].setTime(d); in TestRoundtripWithCalendar()
3728 formatters[i].format(calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3731 + "\n Reference calendar type=" + calendars[i].getType() in TestRoundtripWithCalendar()
3732 + "\n Another calendar type=" + calendars[j].getType() in TestRoundtripWithCalendar()
3738 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar()
3739 calendars[i].clear(); in TestRoundtripWithCalendar()
[all …]
DIntlTestDateFormatSymbols.java570 Calendar[] calendars = new Calendar[TestLocales.length]; in TestConstructorWithCalendar() local
572 calendars[i] = Calendar.getInstance(TestLocales[i]); in TestConstructorWithCalendar()
578 … symbols[i] = new DateFormatSymbols(calendars[i], new ULocale(TestLocales[i].getBaseName())); in TestConstructorWithCalendar()
584 …DateFormatSymbols dfs = new DateFormatSymbols(calendars[i].getClass(), new ULocale(TestLocales[i].… in TestConstructorWithCalendar()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3682 final Calendar[] calendars = { in TestRoundtripWithCalendar() local
3713 calendars[i].setTime(d); in TestRoundtripWithCalendar()
3717 formatters[i].format(calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3720 for (int j = 0; j < calendars.length; j++) { in TestRoundtripWithCalendar()
3727 calendars[j].setTime(d); in TestRoundtripWithCalendar()
3731 formatters[i].format(calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3734 + "\n Reference calendar type=" + calendars[i].getType() in TestRoundtripWithCalendar()
3735 + "\n Another calendar type=" + calendars[j].getType() in TestRoundtripWithCalendar()
3741 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar()
3742 calendars[i].clear(); in TestRoundtripWithCalendar()
[all …]
DIntlTestDateFormatSymbols.java573 Calendar[] calendars = new Calendar[TestLocales.length]; in TestConstructorWithCalendar() local
575 calendars[i] = Calendar.getInstance(TestLocales[i]); in TestConstructorWithCalendar()
581 … symbols[i] = new DateFormatSymbols(calendars[i], new ULocale(TestLocales[i].getBaseName())); in TestConstructorWithCalendar()
587 …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/
DCalendarRegressionTest.java1325 GregorianCalendar calendars[] = { in Test4167060() local
1336 for (int j=0; j<calendars.length; ++j) { in Test4167060()
1337 GregorianCalendar calendar = calendars[j]; in Test4167060()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java1322 GregorianCalendar calendars[] = { in Test4167060() local
1333 for (int j=0; j<calendars.length; ++j) { in Test4167060()
1334 GregorianCalendar calendar = calendars[j]; in Test4167060()
/external/python/cpython3/Doc/whatsnew/
D2.3.rst1682 :mod:`datetime` module. The types don't support different calendars or many
/external/python/cpython2/Doc/whatsnew/
D2.3.rst1682 :mod:`datetime` module. The types don't support different calendars or many
/external/jline/src/src/test/resources/jline/example/
Denglish.gz