/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IndianTest.java | 108 IndianCalendar cal = new IndianCalendar(); in TestBasic() local 127 IndianCalendar cal = new IndianCalendar(TimeZone.getDefault()); in TestCoverage() local 135 IndianCalendar cal = new IndianCalendar(ULocale.getDefault()); in TestCoverage() local 143 IndianCalendar cal = new IndianCalendar(Locale.getDefault()); in TestCoverage() local 151 IndianCalendar cal = new IndianCalendar(TimeZone.getDefault(),Locale.getDefault()); in TestCoverage() local 159 IndianCalendar cal = new IndianCalendar(TimeZone.getDefault(),ULocale.getDefault()); in TestCoverage() local 167 IndianCalendar cal = new IndianCalendar(new Date()); in TestCoverage() local 174 IndianCalendar cal = new IndianCalendar(1917, IndianCalendar.CHAITRA, 1); in TestCoverage() local 181 IndianCalendar cal = new IndianCalendar(1917, IndianCalendar.CHAITRA, 1, 1, 1, 1); in TestCoverage() local 200 IndianCalendar cal = new IndianCalendar(calLocale); in TestCoverage() local [all …]
|
D | ChineseTest.java | 92 ChineseCalendar cal = new ChineseCalendar(); in TestMapping() local 154 ChineseCalendar cal = new ChineseCalendar(); in TestZeroDOM() local 245 ChineseCalendar cal = new ChineseCalendar(); in TestJulianDayMapping() local 261 ChineseCalendar cal = new ChineseCalendar(); in TestFormat() local 295 ChineseCalendar cal = new ChineseCalendar(); in TestResolution() local 398 ChineseCalendar cal = new ChineseCalendar(); in TestOutOfRange() local 445 ChineseCalendar cal = new ChineseCalendar(); in TestAdd() local 476 ChineseCalendar cal = new ChineseCalendar(); in TestRoll() local 480 void doRollAdd(boolean roll, ChineseCalendar cal, int[][] tests) { in doRollAdd() 545 ChineseCalendar cal = new ChineseCalendar(new Date()); in TestCoverage() local [all …]
|
D | EthiopicTest.java | 236 EthiopicCalendar cal = new EthiopicCalendar(1, 0, 1); in TestEraStart() local 257 EthiopicCalendar cal = new EthiopicCalendar(); in TestBasic() local 274 EthiopicCalendar cal = new EthiopicCalendar(); in TestJD() local 290 Calendar cal = Calendar.getInstance(); in TestLimits() local 302 EthiopicCalendar cal = new EthiopicCalendar(TimeZone.getDefault()); in TestCoverage() local 310 EthiopicCalendar cal = new EthiopicCalendar(ULocale.getDefault()); in TestCoverage() local 318 EthiopicCalendar cal = new EthiopicCalendar(Locale.getDefault()); in TestCoverage() local 326 EthiopicCalendar cal = new EthiopicCalendar(TimeZone.getDefault(), Locale.getDefault()); in TestCoverage() local 334 … EthiopicCalendar cal = new EthiopicCalendar(TimeZone.getDefault(), ULocale.getDefault()); in TestCoverage() local 342 EthiopicCalendar cal = new EthiopicCalendar(new Date()); in TestCoverage() local [all …]
|
D | JapaneseTest.java | 33 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault()); in TestCoverage() local 41 JapaneseCalendar cal = new JapaneseCalendar(ULocale.getDefault()); in TestCoverage() local 49 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), ULocale.getDefault()); in TestCoverage() local 57 JapaneseCalendar cal = new JapaneseCalendar(Locale.getDefault()); in TestCoverage() local 65 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), Locale.getDefault()); in TestCoverage() local 73 JapaneseCalendar cal = new JapaneseCalendar(new Date()); in TestCoverage() local 81 JapaneseCalendar cal = new JapaneseCalendar(1868, Calendar.JANUARY, 1); in TestCoverage() local 89 … JapaneseCalendar cal = new JapaneseCalendar(JapaneseCalendar.MEIJI, 43, Calendar.JANUARY, 1); in TestCoverage() local 97 JapaneseCalendar cal = new JapaneseCalendar(1868, Calendar.JANUARY, 1, 1, 1, 1); in TestCoverage() local 105 JapaneseCalendar cal = new JapaneseCalendar(); in TestCoverage() local [all …]
|
D | HebrewTest.java | 79 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); in TestRoll() local 117 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); in TestAdd() local 256 HebrewCalendar cal = new HebrewCalendar(); in TestElulMonth() local 289 HebrewCalendar cal = new HebrewCalendar(); in TestMonthMovement() local 380 HebrewCalendar cal = new HebrewCalendar(); in TestDefaultFieldValues() local 392 Calendar cal = Calendar.getInstance(); in TestLimits() local 403 HebrewCalendar cal = new HebrewCalendar(TimeZone.getDefault()); in TestCoverage() local 411 HebrewCalendar cal = new HebrewCalendar(ULocale.getDefault()); in TestCoverage() local 419 HebrewCalendar cal = new HebrewCalendar(Locale.getDefault()); in TestCoverage() local 427 HebrewCalendar cal = new HebrewCalendar(new Date()); in TestCoverage() local [all …]
|
D | IBMCalendarTest.java | 109 Calendar cal = Calendar.getInstance(loc); in TestWeekend() local 132 Calendar cal = Calendar.getInstance(loc); in TestWeekend() local 153 void quasiGregorianTest(Calendar cal, int[] data) { in quasiGregorianTest() 215 BuddhistCalendar cal = new BuddhistCalendar(ULocale.getDefault()); in TestBuddhistCoverage() local 223 BuddhistCalendar cal = new BuddhistCalendar(TimeZone.getDefault(),ULocale.getDefault()); in TestBuddhistCoverage() local 231 BuddhistCalendar cal = new BuddhistCalendar(TimeZone.getDefault()); in TestBuddhistCoverage() local 239 BuddhistCalendar cal = new BuddhistCalendar(Locale.getDefault()); in TestBuddhistCoverage() local 247 BuddhistCalendar cal = new BuddhistCalendar(TimeZone.getDefault(), Locale.getDefault()); in TestBuddhistCoverage() local 255 BuddhistCalendar cal = new BuddhistCalendar(new Date()); in TestBuddhistCoverage() local 263 BuddhistCalendar cal = new BuddhistCalendar(2543, Calendar.MAY, 22); in TestBuddhistCoverage() local [all …]
|
D | CopticTest.java | 144 CopticCalendar cal = new CopticCalendar(); in TestCopticToJD() local 177 CopticCalendar cal = new CopticCalendar(1, 0, 1); in TestEraStart() local 188 CopticCalendar cal = new CopticCalendar(); in TestBasic() local 207 Calendar cal = Calendar.getInstance(); in TestLimits() local 246 CopticCalendar cal = new CopticCalendar(TimeZone.getDefault()); in TestCoverage() local 254 CopticCalendar cal = new CopticCalendar(ULocale.getDefault()); in TestCoverage() local 262 CopticCalendar cal = new CopticCalendar(Locale.getDefault()); in TestCoverage() local 270 CopticCalendar cal = new CopticCalendar(TimeZone.getDefault(),Locale.getDefault()); in TestCoverage() local 278 CopticCalendar cal = new CopticCalendar(TimeZone.getDefault(),ULocale.getDefault()); in TestCoverage() local 286 CopticCalendar cal = new CopticCalendar(new Date()); in TestCoverage() local [all …]
|
D | IslamicTest.java | 68 IslamicCalendar cal = newCivil(); in TestRoll() local 132 IslamicCalendar cal = newCivil(); in TestBasic() local 151 Calendar cal = Calendar.getInstance(); in TestLimits() local 170 IslamicCalendar cal = new IslamicCalendar(); in Test7427() local 184 IslamicCalendar cal = new IslamicCalendar(TimeZone.getDefault()); in TestCoverage() local 192 IslamicCalendar cal = new IslamicCalendar(ULocale.getDefault()); in TestCoverage() local 200 IslamicCalendar cal = new IslamicCalendar(Locale.getDefault()); in TestCoverage() local 208 IslamicCalendar cal = new IslamicCalendar(new Date()); in TestCoverage() local 216 IslamicCalendar cal = new IslamicCalendar(800, IslamicCalendar.RAMADAN, 1); in TestCoverage() local 224 IslamicCalendar cal = new IslamicCalendar(800, IslamicCalendar.RAMADAN, 1, 1, 1, 1); in TestCoverage() local [all …]
|
D | CalendarRegression.java | 80 GregorianCalendar cal = new GregorianCalendar(zone); in Test4031502() local 186 Calendar cal = Calendar.getInstance(); in Test4051765() local 266 java.util.Calendar cal = java.util.Calendar.getInstance(javazone); in Test4059654() local 280 Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"), in Test4061476() local 304 Calendar cal = new GregorianCalendar(); in Test4070502() local 321 GregorianCalendar cal = new GregorianCalendar(); in getAssociatedDate() local 343 GregorianCalendar cal = new GregorianCalendar(); in dowTest() local 368 Calendar cal = Calendar.getInstance(icuzone); in Test4071385() local 397 Calendar cal = new GregorianCalendar(); in Test4083167() local 431 Calendar cal=Calendar.getInstance(); in Test4086724() local [all …]
|
D | DangiTest.java | 72 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi")); in TestMapping() local 132 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi")); in TestZeroDOM() local 172 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi")); in TestResolution() local 263 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi")); in TestOutOfRange() local 308 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi")); in TestAdd() local 339 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi")); in TestRoll() local 343 void doRollAddDangi(boolean roll, Calendar cal, int[][] tests) { in doRollAddDangi() 421 Calendar cal = new GregorianCalendar(2005, Calendar.FEBRUARY, 28); in TestInitWithCurrentTime() local
|
D | CompatibilityTest.java | 72 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover() local 116 GregorianCalendar cal = in TestMapping() local 167 GregorianCalendar cal = new GregorianCalendar(); in TestMapping() local 250 private void auxMapping(Calendar cal, int y, int m, int d) { in auxMapping() 275 Calendar cal = (Calendar)Calendar.getInstance((SimpleTimeZone)zone.clone()); in TestGenericAPI() local 469 GregorianCalendar cal = new GregorianCalendar(); in dowTest() local 658 Calendar cal = Calendar.getInstance(); in aux4064654() local 692 Calendar cal = Calendar.getInstance (); in TestAddSetOrder621() local 784 Calendar cal = null; in TestAddAcrossOffsetTransitions() local 832 Calendar cal = Calendar.getInstance(); in TestSerialize337() local [all …]
|
D | CalendarTest.java | 73 public void doTestCases(TestCase[] cases, Calendar cal) in doTestCases() 156 public void doRollAdd(boolean roll, Calendar cal, int[][] tests) in doRollAdd() 223 public void doLimitsTest(Calendar cal, int[] fieldsToTest, in doLimitsTest() 343 public void doLimitsTest(Calendar cal, int[] fieldsToTest, Date startDate) { in doLimitsTest() 354 public void doTheoreticalLimitsTest(Calendar cal, boolean leapMonth) { in doTheoreticalLimitsTest() 425 static public String ymdToString(Calendar cal) { in ymdToString() 438 static double getJulianDay(Calendar cal) { in getJulianDay()
|
/external/icu/icu4c/source/i18n/ |
D | ucal.cpp | 163 ucal_close(UCalendar *cal) in ucal_close() 170 ucal_clone(const UCalendar* cal, in ucal_clone() 186 ucal_setTimeZone( UCalendar* cal, in ucal_setTimeZone() 204 ucal_getTimeZoneID(const UCalendar *cal, in ucal_getTimeZoneID() 219 ucal_getTimeZoneDisplayName(const UCalendar* cal, in ucal_getTimeZoneDisplayName() 259 ucal_inDaylightTime( const UCalendar* cal, in ucal_inDaylightTime() 268 ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) { in ucal_setGregorianChange() 291 ucal_getGregorianChange(const UCalendar *cal, UErrorCode *pErrorCode) { in ucal_getGregorianChange() 313 ucal_getAttribute( const UCalendar* cal, in ucal_getAttribute() 340 ucal_setAttribute( UCalendar* cal, in ucal_setAttribute() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 135 GregorianCalendar *cal = (GregorianCalendar*)Calendar::createInstance(status); in test4100311() local 158 GregorianCalendar *cal = new GregorianCalendar(status); in test4074758() local 232 CalendarRegressionTest::printdate(GregorianCalendar *cal, const char *string) in printdate() 276 GregorianCalendar *cal = new GregorianCalendar(zone, status); in test4031502() local 373 Calendar *cal = Calendar::createInstance(status); in test4051765() local 487 Calendar *cal = Calendar::createInstance(TimeZone::createTimeZone("GMT"), in test4061476() local 519 Calendar *cal = new GregorianCalendar(status); in test4070502() local 544 GregorianCalendar *cal = new GregorianCalendar(status); in getAssociatedDate() local 575 GregorianCalendar *cal = new GregorianCalendar(status); in dowTest() local 632 Calendar *cal = Calendar::createInstance(status); in test4071385() local [all …]
|
D | callimts.cpp | 52 CalendarLimitTest::test(UDate millis, icu::Calendar* cal, icu::DateFormat* fmt) in test() 99 Calendar *cal = Calendar::createInstance(status); in TestCalendarExtremeLimit() local 177 Calendar *cal = Calendar::createInstance(buf, status); in TestLimits() local 195 CalendarLimitTest::doTheoreticalLimitsTest(Calendar& cal, UBool leapMonth) { in doTheoreticalLimitsTest() 266 CalendarLimitTest::doLimitsTest(Calendar& cal, UDate startDate, int32_t endTime) { in doLimitsTest() 272 CalendarLimitTest::doLimitsTest(Calendar& cal, in doLimitsTest() 459 CalendarLimitTest::ymdToString(const Calendar& cal, UnicodeString& str) { in ymdToString()
|
D | caltest.cpp | 48 UnicodeString CalendarTest::calToStr(const Calendar & cal) in calToStr() 384 Calendar *cal = Calendar::createInstance(zone->clone(), status); in TestGenericAPI() local 700 GregorianCalendar* cal = new GregorianCalendar(status); in dowTest() local 941 Calendar *cal = Calendar::createInstance(status); in test4064654() local 976 Calendar *cal = Calendar::createInstance(status); in TestAddSetOrder621() local 1289 Calendar *cal = new GregorianCalendar(status); in TestSecondsZero121() local 1478 Calendar *cal = new GregorianCalendar(1972, UCAL_OCTOBER, 26, status); in TestDOWProgression() local 1497 Calendar *cal=Calendar::createInstance(Locale::getGermany(), status); in TestDOW_LOCALandYEAR_WOY() local 1543 void CalendarTest::yearAddTest(Calendar& cal, UErrorCode& status) { in yearAddTest() 1608 void CalendarTest::loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf,*/ int times, UCalendarDateF… in loop_addroll() [all …]
|
D | incaltst.cpp | 149 void IntlCalendarTest::quasiGregorianTest(Calendar& cal, const Locale& gcl, const int32_t *data) { in quasiGregorianTest() 232 Calendar *cal; in TestGregorian() local 284 Calendar *cal; in TestBuddhist() local 335 Calendar *cal; in TestTaiwan() local 389 Calendar *cal; in TestJapanese() local 489 Calendar *cal; in TestJapaneseFormat() local 614 Calendar *cal; in TestJapanese3860() local 717 Calendar *cal; in TestPersian() local
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormat.java | 600 public abstract StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() 729 public abstract void parse(String text, Calendar cal, ParsePosition pos); in parse() 1685 private static DateFormat get(int dateStyle, int timeStyle, ULocale loc, Calendar cal) { in get() 1762 static final public DateFormat getDateInstance(Calendar cal, int dateStyle, Locale locale) in getDateInstance() 1780 static final public DateFormat getDateInstance(Calendar cal, int dateStyle, ULocale locale) in getDateInstance() 1803 static final public DateFormat getTimeInstance(Calendar cal, int timeStyle, Locale locale) in getTimeInstance() 1826 static final public DateFormat getTimeInstance(Calendar cal, int timeStyle, ULocale locale) in getTimeInstance() 1853 static final public DateFormat getDateTimeInstance(Calendar cal, int dateStyle, in getDateTimeInstance() 1881 static final public DateFormat getDateTimeInstance(Calendar cal, int dateStyle, in getDateTimeInstance() 1898 static final public DateFormat getInstance(Calendar cal, Locale locale) { in getInstance() [all …]
|
D | ChineseDateFormatSymbols.java | 75 public ChineseDateFormatSymbols(Calendar cal, Locale locale) { in ChineseDateFormatSymbols() 87 public ChineseDateFormatSymbols(Calendar cal, ULocale locale) { in ChineseDateFormatSymbols()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPDateTimeFactory.java | 113 Calendar cal = dateTime.getCalendar(); in setLocalTimeZone() local 131 GregorianCalendar cal = new GregorianCalendar(UTC); in convertToUTCTime() local 149 GregorianCalendar cal = new GregorianCalendar(); in convertToLocalTime() local
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CalendarFieldsSet.java | 25 public boolean matches(Calendar cal, CalendarFieldsSet diffSet) { in matches() 42 public void setOnCalendar(Calendar cal) { in setOnCalendar()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 51 Calendar cal = Calendar.getInstance(); in Test4029195() local 91 Calendar cal = Calendar.getInstance(); in Test4052408() local 171 Calendar cal = Calendar.getInstance(); in Test4056591() local 254 Calendar cal = new GregorianCalendar(); in Test4060212() local 308 Calendar cal = Calendar.getInstance(); in Test4065240() local 509 Calendar cal = Calendar.getInstance(); in Test4103340() local 552 Calendar cal = Calendar.getInstance(); in Test4104136() local 698 Calendar cal = Calendar.getInstance(); in Test4151631() local 718 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"), Locale.US); in Test4151706() local 769 Calendar cal = Calendar.getInstance(); in Test4182066() local [all …]
|
D | DateFormatTest.java | 197 Calendar cal = Calendar.getInstance(); in TestWallyWedel() local 289 Calendar cal = Calendar.getInstance(); in TestTwoDigitYearDSTParse() local 710 Calendar cal = new GregorianCalendar(); in TestTimeZoneDisplayName() local 1523 Calendar cal = Calendar.getInstance(); in TestPartialParse994() local 1590 Calendar cal = Calendar.getInstance(); in TestRunTogetherPattern917() local 1623 Calendar cal = Calendar.getInstance(); in TestCzechMonths459() local 1670 Calendar cal = Calendar.getInstance(); in TestLetterDPattern212() local 1695 Calendar cal = Calendar.getInstance(); in TestDayOfYearPattern195() local 1736 Calendar cal = Calendar.getInstance(); in TestQuotePattern161() local 1873 Calendar cal = Calendar.getInstance(); in TestTwoDigitYear() local [all …]
|
/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 44 Calendar *cal = Calendar::createInstance(status); in getBestPatternExample() local 84 Calendar *cal = Calendar::createInstance(status); in addPatternExample() local 125 Calendar *cal = Calendar::createInstance(status); in replaceFieldTypesExample() local
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | RelativeDateFormat.java | 59 public RelativeDateFormat(int timeStyle, int dateStyle, ULocale locale, Calendar cal) { in RelativeDateFormat() 107 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() 184 public void parse(String text, Calendar cal, ParsePosition pos) { in parse() 323 private MessageFormat initializeCombinedFormat(Calendar cal, ULocale locale) { in initializeCombinedFormat()
|