Home
last modified time | relevance | path

Searched refs:calendar (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/external/icu4c/test/testdata/
Dcalendar.txt3 calendar:table(nofallback) {
5 Description { "These are the data driven calendar tests" }
6 LongDescription { "Data for data driven calendar tests." }
12 Description { "Test data for calendar conversion :" }
16 ToCalendar { "en_US@calendar=gregorian" }
20 ToCalendar { "en_US@calendar=gregorian" }
25 // taiwanese calendar
28 "en_US@calendar=roc",
33 "en_US@calendar=roc",
38 "en_US@calendar=roc",
[all …]
Dformat.txt23 // locale: locale including calendar type
26 …// or a calendar spec ERA=0,YEAR=1, etc.. applied to the calendar type specified by the loc…
32 "en_US@calendar=gregorian",
38 "zh_TW@calendar=roc",
45 "zh_TW@calendar=roc",
64 "en_US@calendar=gregorian",
70 "en_US@calendar=gregorian",
76 "en_US@calendar=gregorian",
82 "mt_MT@calendar=gregorian",
88 "mt_MT@calendar=gregorian",
[all …]
/external/icu4c/data/locales/
Droot.txt77 calendar{
79 AmPmMarkers:alias{"/LOCALE/calendar/gregorian/AmPmMarkers"}
135 dayNames:alias{"/LOCALE/calendar/gregorian/dayNames"}
140 narrow:alias{"/LOCALE/calendar/buddhist/eras/abbreviated"}
141 wide:alias{"/LOCALE/calendar/buddhist/eras/abbreviated"}
143 intervalFormats:alias{"/LOCALE/calendar/gregorian/intervalFormats"}
144 monthNames:alias{"/LOCALE/calendar/gregorian/monthNames"}
145 quarters:alias{"/LOCALE/calendar/gregorian/quarters"}
148 AmPmMarkers:alias{"/LOCALE/calendar/gregorian/AmPmMarkers"}
164 appendItems:alias{"/LOCALE/calendar/gregorian/appendItems"}
[all …]
/external/icu4c/test/intltest/
Dcalregts.cpp297 Calendar *calendar = new GregorianCalendar(pdt, status); in test4040996() local
302 calendar->set(UCAL_MONTH,3); in test4040996()
303 calendar->set(UCAL_DATE,18); in test4040996()
304 calendar->set(UCAL_SECOND, 30); in test4040996()
306 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996()
308 calendar->get(UCAL_DATE, status)); in test4040996()
309 logln(UnicodeString("MINUTE: ") + calendar->get(UCAL_MINUTE, status)); in test4040996()
310 logln(UnicodeString("SECOND: ") + calendar->get(UCAL_SECOND, status)); in test4040996()
312 calendar->add(UCAL_SECOND,6, status); in test4040996()
316 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996()
[all …]
Dcaltest.cpp1196 Calendar *calendar = new GregorianCalendar(status); in TestAddSetGet0610() local
1198 calendar->set(1993, UCAL_JANUARY, 4); in TestAddSetGet0610()
1199 logln("1A) " + value(calendar)); in TestAddSetGet0610()
1200 calendar->add(UCAL_DATE, 1, status); in TestAddSetGet0610()
1202 UnicodeString v = value(calendar); in TestAddSetGet0610()
1206 delete calendar; in TestAddSetGet0610()
1209 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status); in TestAddSetGet0610() local
1211 logln("2A) " + value(calendar)); in TestAddSetGet0610()
1212 calendar->add(UCAL_DATE, 1, status); in TestAddSetGet0610()
1214 UnicodeString v = value(calendar); in TestAddSetGet0610()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DCalendarTest.java570 Calendar calendar = Calendar.getInstance(); in test_clear() local
590 calendar.set(2008, 3, 20, 17, 28, 12); in test_clear()
595 calendar.clear(index); in test_clear()
599 calendar.get(index)); in test_clear()
603 calendar.get(index)); in test_clear()
607 + defaults[i] + ".", defaults[i], calendar.get(index)); in test_clear()
612 calendar.set(2008, 3, 20, 17, 28, 12); in test_clear()
614 calendar.clear(); in test_clear()
619 + defaults[i] + ".", defaults[i], calendar.get(index)); in test_clear()
627 Calendar calendar = Calendar.getInstance(); in test_isSet() local
[all …]
/external/icu4c/i18n/
Dcoptccal.cpp136 CopticCalendar calendar(Locale("@calendar=coptic"), status); in initializeSystemDefaultCentury() local
138 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
139 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
140 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
141 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
Dethpccal.cpp173 EthiopicCalendar calendar(Locale("@calendar=ethiopic"), status); in initializeSystemDefaultCentury() local
175 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
176 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
177 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
178 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
Dbuddhcal.cpp191 BuddhistCalendar calendar(Locale("@calendar=buddhist"),status); in initializeSystemDefaultCentury() local
194 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
195 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
196 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
197 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
Dtaiwncal.cpp198 TaiwanCalendar calendar(Locale("@calendar=roc"),status); in initializeSystemDefaultCentury() local
201 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
202 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
203 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
204 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
Dpersncal.cpp441 PersianCalendar calendar(Locale("@calendar=persian"),status); in initializeSystemDefaultCentury() local
444 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
445 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
446 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
447 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
Dindiancal.cpp423 IndianCalendar calendar(Locale("@calendar=Indian"),status); in initializeSystemDefaultCentury() local
425 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
426 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
428 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
429 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
Dislamcal.cpp525 IslamicCalendar calendar(Locale("@calendar=islamic-civil"),status); in initializeSystemDefaultCentury() local
528 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
529 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
530 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
531 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
Dhebrwcal.cpp735 HebrewCalendar calendar(Locale("@calendar=hebrew"),status); in initializeSystemDefaultCentury() local
738 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
739 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
740 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
741 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury()
/external/apache-http/src/org/apache/http/impl/cookie/
DDateUtils.java81 Calendar calendar = Calendar.getInstance();
82 calendar.setTimeZone(GMT);
83 calendar.set(2000, Calendar.JANUARY, 1, 0, 0, 0);
84 calendar.set(Calendar.MILLISECOND, 0); in calendar.set()
85 DEFAULT_TWO_DIGIT_YEAR_START = calendar.getTime();
/external/icu4c/data/lang/
Dro.txt14 calendar{"Calendar"}
348 calendar{
349 buddhist{"calendar budist"}
350 chinese{"calendar chinezesc"}
351 coptic{"calendar copt"}
352 ethiopic{"calendar etiopian"}
354 gregorian{"calendar gregorian"}
355 hebrew{"calendar ebraic"}
356 indian{"calendar național indian"}
357 islamic{"calendar islamic"}
[all …]
Das.txt14 calendar{"পঞ্জিকা"}
25 calendar{
Dchr.txt14 calendar{"ᏅᏙ ᏗᏎᏗ"}
45 calendar{
Dsi.txt14 calendar{"දිනදසුන"}
80 calendar{
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DJmeFormatter.java49 private Date calendar = new Date(); field in JmeFormatter
64 calendar.setTime(record.getMillis()); in format()
65 args[0] = calendar; in format()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DHeaderParser.java131 protected void time(Calendar calendar) throws ParseException { in time() argument
135 calendar.set(Calendar.HOUR_OF_DAY, hour); in time()
139 calendar.set(Calendar.MINUTE, min); in time()
143 calendar.set(Calendar.SECOND, sec); in time()
/external/libmtp/examples/
Devolution-sync.sh66 $HOME/.evolution/calendar/local/system/calendar.ics \
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/
DX509CertificateTest.java194 Calendar calendar = Calendar.getInstance(); in testCheckValidity2() local
196 calendar.set(i*50, Calendar.JANUARY, 1); in testCheckValidity2()
197 date[i] = calendar.getTime(); in testCheckValidity2()
/external/icu4c/data/misc/
DkeyTypeData.txt11 calendar{"ca"}
33 calendar{
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DUtils.java252 Calendar calendar = Calendar.getInstance(); in getDateFromBuildID() local
269 calendar.set(year, month, date, hours, min); in getDateFromBuildID()
270 return calendar.getTimeInMillis(); in getDateFromBuildID()
280 calendar.set(year, month, date, hours, min); in getDateFromBuildID()
282 return calendar.getTimeInMillis(); in getDateFromBuildID()

12345678910>>...16