Home
last modified time | relevance | path

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

12345678910>>...30

/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
27 …// or a calendar spec ERA=0,YEAR=1, etc.. applied to the calendar type specified by the loc…
34 "en_US@calendar=gregorian",
41 "zh_TW@calendar=roc",
49 "zh_TW@calendar=roc",
69 "en_US@calendar=gregorian",
76 "en_US@calendar=gregorian",
83 "en_US@calendar=gregorian",
91 "en_US@calendar=gregorian",
99 "en_US@calendar=gregorian",
[all …]
/external/chromium_org/third_party/icu/source/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/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPDateTimeImpl.java66 public XMPDateTimeImpl(Calendar calendar) in XMPDateTimeImpl() argument
69 Date date = calendar.getTime(); in XMPDateTimeImpl()
70 TimeZone zone = calendar.getTimeZone(); in XMPDateTimeImpl()
100 GregorianCalendar calendar = new GregorianCalendar(timeZone); in XMPDateTimeImpl() local
101 calendar.setTime(date); in XMPDateTimeImpl()
102 this.year = calendar.get(Calendar.YEAR); in XMPDateTimeImpl()
103 this.month = calendar.get(Calendar.MONTH) + 1; // cal is from 0..12 in XMPDateTimeImpl()
104 this.day = calendar.get(Calendar.DAY_OF_MONTH); in XMPDateTimeImpl()
105 this.hour = calendar.get(Calendar.HOUR_OF_DAY); in XMPDateTimeImpl()
106 this.minute = calendar.get(Calendar.MINUTE); in XMPDateTimeImpl()
[all …]
/external/chromium_org/third_party/icu/source/data/locales/
Droot.txt49 calendar{
51 AmPmMarkers:alias{"/LOCALE/calendar/gregorian/AmPmMarkers"}
67 appendItems:alias{"/LOCALE/calendar/gregorian/appendItems"}
68 availableFormats:alias{"/LOCALE/calendar/gregorian/availableFormats"}
69 dayNames:alias{"/LOCALE/calendar/gregorian/dayNames"}
74 narrow:alias{"/LOCALE/calendar/buddhist/eras/abbreviated"}
75 wide:alias{"/LOCALE/calendar/buddhist/eras/abbreviated"}
77 intervalFormats:alias{"/LOCALE/calendar/gregorian/intervalFormats"}
78 monthNames:alias{"/LOCALE/calendar/gregorian/monthNames"}
79 quarters:alias{"/LOCALE/calendar/gregorian/quarters"}
[all …]
/external/icu4c/data/locales/
Droot.txt117 calendar{
119 AmPmMarkers:alias{"/LOCALE/calendar/gregorian/AmPmMarkers"}
120 DateTimePatterns:alias{"/LOCALE/calendar/generic/DateTimePatterns"}
121 appendItems:alias{"/LOCALE/calendar/generic/appendItems"}
122 availableFormats:alias{"/LOCALE/calendar/generic/availableFormats"}
123 dayNames:alias{"/LOCALE/calendar/gregorian/dayNames"}
128 narrow:alias{"/LOCALE/calendar/buddhist/eras/abbreviated"}
129 wide:alias{"/LOCALE/calendar/buddhist/eras/abbreviated"}
131 intervalFormats:alias{"/LOCALE/calendar/generic/intervalFormats"}
132 monthNames:alias{"/LOCALE/calendar/gregorian/monthNames"}
[all …]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DDateDialogNormalizer.java61 Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT")); in normalize() local
62 calendar.clear(); in normalize()
63 calendar.set(year, month, day, hour, minute, 0); in normalize()
64 if (calendar.getTimeInMillis() < minMillis) { in normalize()
65 calendar.clear(); in normalize()
66 calendar.setTimeInMillis(minMillis); in normalize()
67 } else if (calendar.getTimeInMillis() > maxMillis) { in normalize()
68 calendar.clear(); in normalize()
69 calendar.setTimeInMillis(maxMillis); in normalize()
72 calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), in normalize()
[all …]
/external/chromium_org/media/tools/layout_tests/
Dtest_expectations_history_unittest.py8 import calendar
42 ptime = calendar.timegm((2011, 8, 20, 0, 0, 0, 0, 0, 0))
43 ctime = calendar.timegm((2011, 8, 21, 0, 0, 0, 0, 0, 0))
51 ptime = calendar.timegm((2011, 8, 20, 6, 0, 0, 0, 0, 0))
52 ctime = calendar.timegm((2011, 8, 20, 7, 0, 0, 0, 0, 0))
60 ptime = calendar.timegm((2011, 9, 12, 1, 0, 0, 0, 0, 0))
61 ctime = calendar.timegm((2011, 9, 12, 2, 0, 0, 0, 0, 0))
/external/chromium_org/third_party/icu/source/test/intltest/
Dcalregts.cpp288 Calendar *calendar = new GregorianCalendar(pdt, status); in test4040996() local
293 calendar->set(UCAL_MONTH,3); in test4040996()
294 calendar->set(UCAL_DATE,18); in test4040996()
295 calendar->set(UCAL_SECOND, 30); in test4040996()
297 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996()
299 calendar->get(UCAL_DATE, status)); in test4040996()
300 logln(UnicodeString("MINUTE: ") + calendar->get(UCAL_MINUTE, status)); in test4040996()
301 logln(UnicodeString("SECOND: ") + calendar->get(UCAL_SECOND, status)); in test4040996()
303 calendar->add(UCAL_SECOND,6, status); in test4040996()
307 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996()
[all …]
/external/icu4c/test/intltest/
Dcalregts.cpp332 Calendar *calendar = new GregorianCalendar(pdt, status); in test4040996() local
337 calendar->set(UCAL_MONTH,3); in test4040996()
338 calendar->set(UCAL_DATE,18); in test4040996()
339 calendar->set(UCAL_SECOND, 30); in test4040996()
341 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996()
343 calendar->get(UCAL_DATE, status)); in test4040996()
344 logln(UnicodeString("MINUTE: ") + calendar->get(UCAL_MINUTE, status)); in test4040996()
345 logln(UnicodeString("SECOND: ") + calendar->get(UCAL_SECOND, status)); in test4040996()
347 calendar->add(UCAL_SECOND,6, status); in test4040996()
351 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996()
[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/chromium_org/third_party/icu/source/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()
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()
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()
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()
/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()
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()
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()
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.cpp310 PersianCalendar calendar(Locale("@calendar=persian"),status); in initializeSystemDefaultCentury() local
313 calendar.setTime(Calendar::getNow(), status); in initializeSystemDefaultCentury()
314 calendar.add(UCAL_YEAR, -80, status); in initializeSystemDefaultCentury()
315 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury()
316 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/chromium_org/third_party/icu/source/data/lang/
Dro.txt314 calendar{
315 buddhist{"calendar budist"}
316 chinese{"calendar chinezesc"}
317 gregorian{"calendar gregorian"}
318 hebrew{"calendar ebraic"}
319 indian{"calendar național indian"}
320 islamic{"calendar islamic"}
321 islamic-civil{"calendar islamic civil"}
322 japanese{"calendar japonez"}
323 roc{"calendar al Republicii Chineze"}
/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/chromium_org/third_party/WebKit/Source/web/resources/
DcalendarPicker.css114 .calendar-table-view {
133 .calendar-table-header-view {
139 .calendar-picker {
149 .calendar-header-view {
155 .calendar-title {
161 .rtl .calendar-title {
205 .calendar-navigation-button {
306 .calendar-table-view:focus {
316 .preparing .calendar-table-view:focus {

12345678910>>...30