Home
last modified time | relevance | path

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

12

/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/cldr/tools/java/org/unicode/cldr/json/
DJSON_config.txt12 section=ca-buddhist ; path=//cldr/main/[^/]++/dates/calendars/buddhist/.* ; package=cal-buddhist
13 section=ca-chinese ; path=//cldr/main/[^/]++/dates/calendars/chinese/.* ; package=cal-chinese
14 section=ca-coptic ; path=//cldr/main/[^/]++/dates/calendars/coptic/.* ; package=cal-coptic
15 section=ca-dangi ; path=//cldr/main/[^/]++/dates/calendars/dangi/.* ; package=cal-dangi
16 section=ca-ethiopic ; path=//cldr/main/[^/]++/dates/calendars/ethiopic/.* ; package=cal-ethiopic
17 section=ca-ethiopic-amete-alem ; path=//cldr/main/[^/]++/dates/calendars/ethiopic-amete-alem/.* ; p…
18 section=ca-generic ; path=//cldr/main/[^/]++/dates/calendars/generic/.* ; package=dates
19 section=ca-gregorian ; path=//cldr/main/[^/]++/dates/calendars/gregorian/.* ; package=dates
20 section=ca-hebrew ; path=//cldr/main/[^/]++/dates/calendars/hebrew/.* ; package=cal-hebrew
21 section=ca-indian ; path=//cldr/main/[^/]++/dates/calendars/indian/.* ; package=cal-indian
[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/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCoverageLevel.txt1 ^//ldml/dates/calendars/calendar\[@type="(?!gregorian)[^"]*"] ; 100
7 ^//ldml/dates/calendars/calendar\[@type=".*"]/dateTimeFormats/appendItems/appendItem\[@request=".*"…
8 ^//ldml/dates/calendars/calendar\[@type=".*"]/dayPeriods/dayPeriodContext\[@type=".*"]/dayPeriodWid…
29 ^//ldml/dates/calendars/calendar\[@type=".*"]/dateFormats/dateFormatLength\[@type="(long|short)"]/d…
30 ^//ldml/dates/calendars/calendar\[@type=".*"]/dateTimeFormats/intervalFormats/intervalFormatItem\[@…
31 ^//ldml/dates/calendars/calendar\[@type=".*"]/dayPeriods/dayPeriodContext\[@type=".*"]/dayPeriodWid…
32 ^//ldml/dates/calendars/calendar\[@type=".*"]/eras/eraAbbr/era\[@type=".*"] ; 30
34 ^//ldml/dates/calendars/calendar\[@type=".*"]/days/dayContext\[@type="format"]/dayWidth\[@type="nar…
35 ^//ldml/dates/calendars/calendar\[@type=".*"]/days/dayContext\[@type="format"]/dayWidth\[@type="wid…
36 ^//ldml/dates/calendars/calendar\[@type=".*"]/days/dayContext\[@type="stand-alone"]/dayWidth\[@type…
[all …]
DTestExamples.txt7 #//ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/intervalFormats/intervalFormatItem[@id…
10 //ldml/dates/calendars/calendar[@type="%A"]/dateFormats/dateFormatLength[@type="%A"]/dateFormat[@ty…
11 //ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/availableFormats/dateFormatItem[@id="%A…
12 //ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/dateTimeFormatLength[@type="%A"]/dateTi…
13 //ldml/dates/calendars/calendar[@type="%A"]/timeFormats/timeFormatLength[@type="%A"]/timeFormat[@ty…
/external/cldr/tools/java/org/unicode/cldr/icu/
Dldml2icu_locale.txt27 //ldml/dates/calendars/calendar[@type="(%A)"]/alias[@source="locale"][@path="../calendar[@type='(%A…
29 //ldml/dates/calendars/calendar[@type="(%A)"]/dayPeriods/alias[@source="locale"][@path="../../calen…
34 //ldml/dates/calendars/calendar[@type="gregorian"]/dayPeriods/dayPeriodContext[@type="format"]/dayP…
35 //ldml/dates/calendars/calendar[@type="gregorian"]/dayPeriods/dayPeriodContext[@type="format"]/dayP…
37 //ldml/dates/calendars/calendar[@type="(%A)"]/(eras|quarters|cyclicNameSets|monthPatterns)/alias[@s…
39 //ldml/dates/calendars/calendar[@type="(%A)"]/eras/eraNarrow/alias[@source="locale"][@path="../eraA…
40 //ldml/dates/calendars/calendar[@type="(%A)"]/eras/eraNames/alias[@source="locale"][@path="../eraAb…
42 //ldml/dates/calendars/calendar[@type="(%A)"]/(cyclicNameSet)s/\2[@type="(%W)"]/alias[@source="loca…
43 //ldml/dates/calendars/calendar[@type="(%A)"]/(cyclicNameSet)s/\2[@type="(%W)"]/(cyclicName)Context…
44 //ldml/dates/calendars/calendar[@type="(%A)"]/(cyclicNameSet)s/\2[@type="(%W)"]/(cyclicName)Context…
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPathHeader.txt63 //ldml/dates/calendars/calendar[@type="%R"]/eras/eraAbbr/era[@type="%A"] ; DateTime ; &calendar($…
64 //ldml/dates/calendars/calendar[@type="%R"]/eras/eraNames/era[@type="%A"] ; DateTime ; &calendar($…
65 //ldml/dates/calendars/calendar[@type="%R"]/eras/eraNarrow/era[@type="%A"] ; DateTime ; &calendar($…
66 //ldml/dates/calendars/calendar[@type="%A"]/eras/eraAbbr/era[@type="%A"] ; Special ; Suppress ; …
67 //ldml/dates/calendars/calendar[@type="%A"]/eras/eraNames/era[@type="%A"] ; Special ; Suppress ; …
68 //ldml/dates/calendars/calendar[@type="%A"]/eras/eraNarrow/era[@type="%A"] ; Special ; Suppress ; …
70 //ldml/dates/calendars/calendar[@type="gregorian"]/quarters/quarterContext[@type="%A"]/quarterWidth…
71 //ldml/dates/calendars/calendar[@type="%A"]/quarters/quarterContext[@type="%A"]/quarterWidth[@type=…
73 //ldml/dates/calendars/calendar[@type="%O"]/months/monthContext[@type="%A"]/monthWidth[@type="%A"]/…
74 //ldml/dates/calendars/calendar[@type="%O"]/months/monthContext[@type="%A"]/monthWidth[@type="%A"]/…
[all …]
DPlaceholders.txt12 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/dateTimeFormatLength\[@type="%A"]/dat…
141 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Day…
142 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Tim…
143 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Era…
144 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Yea…
146 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Day…
147 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Hou…
148 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="(We…
149 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="(Mo…
150 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="(Mi…
[all …]
DprettyPath.txt46 # //ldml/dates/calendars/calendar[@type="buddhist"]/X/default
48 '/dates/calendars/default' > '3-deprecated|default|calendar';
49 '/dates/calendars/calendar[@type="' ($avalue) '"]/' ($element) '/default' > '3-deprecated|default|c…
55 #'/dates/calendars/calendar[@type="' 'gregorian' '"]' > 'calendar-' | '$%%';
56 '/dates/calendars/calendar[@type="' ($avalue) '"]' > 'calendar-' $1 | '$%%';
106 # //ldml/dates/calendars/calendar[@type="gregorian"]/dayPeriods/dayPeriodContext[@type="format"]/da…
DPathDescription.txt128 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/dayPeriods/dayPeriodContext\[@type="(format)"]/d…
129 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/dayPeriods/dayPeriodContext\[@type="([^"]*)"]/da…
130 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/days/dayContext\[@type="([^"]*)"]/dayWidth\[@typ…
131 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/eras/eraAbbr/era\[@type="([^"]*)"] ; Provide…
132 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/eras/eraNames/era\[@type="([^"]*)"] ; Provide…
133 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/eras/eraNarrow/era\[@type="([^"]*)"] ; Provide…
134 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/months/monthContext\[@type="([^"]*)"]/monthWidth…
135 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/quarters/quarterContext\[@type="([^"]*)"]/quarte…
152 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/dateTimeFormats/dateTimeFormatLength\[@type="([^…
153 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/dateFormats/dateFormatLength\[@type="([^"]*)"]/d…
[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/cldr/tools/java/org/unicode/cldr/util/data/paths/
DmissingOk.txt8 //ldml/dates/calendars/calendar[@type="%A"]/quarters/quarterContext[@type="%A"]/quarterWidth[@type=…
10 #//ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/dateTimeFormatLength[@type="%A"]/dateT…
17 //ldml/dates/calendars/calendar[@type="%A"]/.*/default ; ok
/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.cpp3452 Calendar *calendars[] = { in TestRoundtripWithCalendar() local
3462 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3463 delete calendars[i]; in TestRoundtripWithCalendar()
3490 calendars[i]->setTime(d, status); in TestRoundtripWithCalendar()
3494 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3497 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3504 calendars[j]->setTime(d, status); in TestRoundtripWithCalendar()
3508 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3511 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3512 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
[all …]
/external/python/google-api-python-client/samples/calendar_api/
DREADME1 Loop over all a user's calendars, printing their titles.
/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/cldr/tools/java/org/unicode/cldr/tool/
DxmbSkip.txt11 ^//ldml/dates/calendars/calendar\[@type="(?!gregorian) ; SKIP
25 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/dateTimeFormats/appendItems/appendItem\[@request…
/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
137 This class can be used to generate plain text calendars.
172 This class can be used to generate HTML calendars.
300 For simple text calendars this module provides the following functions.

12