Searched defs:calendar (Results 26 - 50 of 62) sorted by relevance

123

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DCalendarTest.java8 package com.ibm.icu.dev.test.calendar;
69 * Iterates through a list of calendar <code>TestCase</code> objects and
77 // Get a format to use for printing dates in the calendar system we're testing
103 // test.applyTime will call setTime() on the calendar object, and
117 // test.applyFields will set all of the calendar's fields to
198 * test calendar 'cal' through 'numberOfDays' sequential days starting
214 * @param cal the calendar to be tested
351 * @param cal The calendar instance to be tested.
352 * @param leapMonth true if the calendar system has leap months
H A DCompatibilityTest.java7 package com.ibm.icu.dev.test.calendar;
886 // - Upon initialization calendar fields, millis = System.currentTime
891 Calendar calendar = new GregorianCalendar( ) ;
892 calendar.set( 1993, Calendar.JANUARY, 4 ) ;
893 logln( "1A) " + value( calendar ) ) ;
894 calendar.add( Calendar.DATE, 1 ) ;
895 String v = value(calendar);
904 // - Upon initialization calendar fields set, millis = 0
909 Calendar calendar = new GregorianCalendar( 1993, Calendar.JANUARY, 4 ) ;
910 logln( "2A) " + value( calendar ) ) ;
[all...]
H A DIBMCalendarTest.java7 package com.ibm.icu.dev.test.calendar;
147 * Run a test of a quasi-Gregorian calendar. This is a calendar
306 * Test limits of the Buddhist calendar.
319 * Default calendar for Thai (Ticket#6302)
322 // Buddhist calendar is used as the default calendar for
326 // Android patch: Force default Gregorian calendar.
328 errln("FAIL: Gregorian calendar is not returned for locale " + cal.toString());
348 * Test limits of the Taiwan calendar
[all...]
H A DIslamicTest.java7 package com.ibm.icu.dev.test.calendar;
77 * work properly for a wide range of data in the civil calendar.
148 * Test limits of the Islamic calendar
158 // number of days to test - Islamic calendar starts to exhibit
232 // operations on non-civil calendar
236 errln("islamic calendar is civil");
240 // operations on non-civil calendar
244 errln("islamic calendar is civil");
265 errln("get/set time failed with non-civil islamic calendar");
325 errln("Expected calendar t
[all...]
H A DTestCase.java7 package com.ibm.icu.dev.test.calendar;
20 * field and millisecond values that the calendar should have at one
22 * methods are used to apply these settings to the calendar object being
24 * that the calendar has ended up in the right state.
78 * the corresponding fields for the calendar being tested.
80 * @param era The ERA field of tested calendar on the given julian day
81 * @param year The YEAR field of tested calendar on the given julian day
82 * @param month The MONTH (1-based) field of tested calendar on the given julian day
83 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day
84 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar o
[all...]
H A DCalendarRegression.java7 package com.ibm.icu.dev.test.calendar;
154 Calendar calendar = new GregorianCalendar(pdt);
156 calendar.set(Calendar.MONTH,3);
157 calendar.set(Calendar.DAY_OF_MONTH,18);
158 calendar.set(Calendar.SECOND, 30);
160 logln("MONTH: " + calendar.get(Calendar.MONTH));
162 calendar.get(Calendar.DAY_OF_MONTH));
163 logln("MINUTE: " + calendar.get(Calendar.MINUTE));
164 logln("SECOND: " + calendar.get(Calendar.SECOND));
166 calendar
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DICUDurationTest.java96 public void addTo(java.util.Calendar calendar) { argument
359 DurationFormat df = DurationFormat.getInstance(new ULocale("th@calendar=buddhist"));
/external/v8/src/
H A Di18n.cc9 #include "unicode/calendar.h"
82 // since calendar takes ownership.
91 // Create a calendar using locale, and apply time zone to it.
93 icu::Calendar* calendar = local
111 date_format->adoptCalendar(calendar);
116 delete calendar;
141 // Set time zone and calendar.
142 const icu::Calendar* calendar = date_format->getCalendar(); local
143 const char* calendar_name = calendar->getType();
144 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("calendar"),
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
H A DGlobalizationPreferences.java35 * <li>A calendar</li>
64 * <li>to get the display name for the first day of the week, use the calendar +
66 * <li>to get the work days, ask the calendar (when that is available).</li>
408 * Sets the calendar. If this has not been set, uses default for territory.
410 * @param calendar arbitrary calendar
415 public GlobalizationPreferences setCalendar(Calendar calendar) { argument
419 this.calendar = (Calendar) calendar.clone(); // clone for safety
424 * Get a copy of the calendar accordin
1171 private Calendar calendar; field in class:GlobalizationPreferences
[all...]
/external/icu/icu4c/source/i18n/
H A Ducal.cpp16 #include "unicode/calendar.h"
153 uloc_setKeywordValue("calendar", "gregorian", localeBuf, ULOC_LOCALE_IDENTIFIER_CAPACITY, status);
501 ucal_clear(UCalendar* calendar) argument
504 ((Calendar*)calendar)->clear();
682 // Read preferred calendar values from supplementalData calendarPreference
691 // Create a list of calendar type strings
H A Dudat.cpp20 #include "unicode/calendar.h"
249 UCalendar* calendar,
275 ((DateFormat*)format)->format(*(Calendar*)calendar, res, fp);
315 UCalendar* calendar,
336 ((DateFormat*)format)->format(*(Calendar*)calendar, res, (FieldPositionIterator*)fpositer, *status);
375 UCalendar* calendar,
393 ((DateFormat*)format)->parse(src, *(Calendar*)calendar, pp);
248 udat_formatCalendar(const UDateFormat* format, UCalendar* calendar, UChar* result, int32_t resultLength, UFieldPosition* position, UErrorCode* status) argument
314 udat_formatCalendarForFields(const UDateFormat* format, UCalendar* calendar, UChar* result, int32_t resultLength, UFieldPositionIterator* fpositer, UErrorCode* status) argument
374 udat_parseCalendar(const UDateFormat* format, UCalendar* calendar, const UChar* text, int32_t textLength, int32_t *parsePos, UErrorCode *status) argument
H A Dcalendar.cpp50 #include "unicode/calendar.h"
122 fprintf(stderr, "@calendar=%s, timeset=%c, fieldset=%c, allfields=%c, virtualset=%c, t=%.2f",
211 Calendar *calendar = Calendar::makeInstance(fLoc, status); local
215 SharedCalendar *shared = new SharedCalendar(calendar);
217 delete calendar;
243 UnicodeString calendarKeyword = UNICODE_STRING_SIMPLE("calendar=");
264 // e.g ja_JP_TRADITIONAL -> ja_JP@calendar=japanese
274 calTypeBufLen = uloc_getKeywordValue(canonicalName, "calendar", calTypeBuf, sizeof(calTypeBuf) - 1, &status);
284 // when calendar keyword is not available or not supported, read supplementalData
285 // to get the default calendar typ
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcdattst.c377 log_err("FAIL: Error in setting and getting the calendar\n");
379 log_verbose("PASS: getting and setting calendar successful\n");
604 log_verbose("\ncreating a date format with zh locale for chinese calendar\n");
605 zhChiCal = udat_open(UDAT_NONE, UDAT_FULL, "zh@calendar=chinese", NULL, 0, NULL, 0, &status);
608 log_data_err("error in creating the dateformat using full date, no time, locale zh@calendar=chinese -> %s (Are you missing data?)\n",
867 /* Create a calendar */
965 UCalendar* calendar = 0; local
993 calendar = ucal_open(NULL, -1, NULL, UCAL_GREGORIAN, &ec);
994 ucal_setMillis(calendar, 0, &ec);
995 ucal_setDateTime(calendar, twoDigitCenturyStar
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dcaltest.cpp603 cal = Calendar::createInstance(Locale("he_IL@calendar=hebrew"), status);
611 Calendar::getKeywordValuesForLocale("calendar", Locale("he"), FALSE, status));
1320 Calendar *calendar = new GregorianCalendar(status); local
1322 calendar->set(1993, UCAL_JANUARY, 4);
1323 logln("1A) " + value(calendar));
1324 calendar->add(UCAL_DATE, 1, status);
1326 UnicodeString v = value(calendar);
1330 delete calendar;
1333 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status); local
1335 logln("2A) " + value(calendar));
1345 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status); local
1363 value(Calendar* calendar) argument
1385 GregorianCalendar *calendar = 0; local
[all...]
H A Dcalregts.cpp333 Calendar *calendar = new GregorianCalendar(pdt, status); local
338 calendar->set(UCAL_MONTH,3);
339 calendar->set(UCAL_DATE,18);
340 calendar->set(UCAL_SECOND, 30);
342 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status));
344 calendar->get(UCAL_DATE, status));
345 logln(UnicodeString("MINUTE: ") + calendar->get(UCAL_MINUTE, status));
346 logln(UnicodeString("SECOND: ") + calendar->get(UCAL_SECOND, status));
348 calendar->add(UCAL_SECOND,6, status);
352 logln(UnicodeString("MONTH: ") + calendar
1538 GregorianCalendar *calendar = new GregorianCalendar(status); local
1572 GregorianCalendar *calendar = new GregorianCalendar(status); local
1611 GregorianCalendar *calendar = new GregorianCalendar(status); local
1642 GregorianCalendar *calendar = new GregorianCalendar(status); local
1696 GregorianCalendar *calendar = new GregorianCalendar(zones[i], status); local
1800 GregorianCalendar *calendar = new GregorianCalendar(1996, UCAL_FEBRUARY, 29, status); local
1855 GregorianCalendar *calendar = new GregorianCalendar(Locale::getUS(), status); local
1922 GregorianCalendar *calendar = calendars[j]; local
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateFormat.java41 * conventions for months, days of the week, or even the calendar format: lunar vs. solar. It provides many class
105 * <li>For those non-digit calendar fields, the pattern letter length is important, such as MMM, MMMM, and MMMMM; E and
107 * <li>For the digit calendar fields, such as M or MM, d or dd, yy or yyyy, the field pattern length is ignored and the
143 * The calendar that <code>DateFormat</code> uses to produce the time field
145 * initialize this to a calendar appropriate for the locale associated with
150 protected Calendar calendar; field in class:DateFormat
442 * of the *related* calendar which may be different than the
576 * into a date/time string. When the calendar type is different from
577 * the internal calendar held by this DateFormat instance, the date
578 * and the time zone will be inherited from the input calendar, bu
[all...]
H A DSimpleDateFormat.java67 * as pattern letters representing calendar fields. <code>SimpleDateFormat</code> supports
164 * year-week calendar as defined by ISO 8601, but can be used in non-Gregorian based calendar systems
165 * where week date processing is desired. May not always be the same value as calendar year.</td>
171 * <td>Extended year. This is a single number designating the year of this calendar system, encompassing
172 * all supra-year fields. For example, for the Julian calendar system, year numbers are positive, with an
173 * era of BCE or CE. An extended year value for the Julian calendar system assigns positive values to CE
180 * <td rowspan="3">Cyclic year name. Calendars such as the Chinese lunar calendar (and related calendars)
183 * which will be used for all requested name widths). If the calendar does not provide cyclic year name data,
694 * <p>The calendar define
1044 SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, ULocale locale, boolean useFastFormat, String override) argument
1052 SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, NumberFormat numberFormat, ULocale locale, boolean useFastFormat,String override) argument
[all...]
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface.databinding_1.4.0.I20100601-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp6296 static void NativeCrypto_ASN1_TIME_to_Calendar(JNIEnv* env, jclass, jlong asn1TimeRef, jobject calendar) { argument
6298 JNI_TRACE("ASN1_TIME_to_Calendar(%p, %p)", asn1Time, calendar);
6327 env->CallVoidMethod(calendar, calendar_setMethod, year, mon - 1, mday, hour, min, sec);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
H A Dperformanceui.jarMETA-INF/MANIFEST.MF .project about.html plugin.xml build.properties images/FAIL ...
/external/robolectric/lib/main/
H A Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/cookie/ ...

Completed in 578 milliseconds

123