Home
last modified time | relevance | path

Searched refs:getCalendar (Results 1 – 25 of 63) sorted by relevance

123

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/
DCalendarTest.java45 assertEquals(bean.getCalendar(), parsed.getCalendar()); in testDumpDstIgnored()
95 assertFalse("TimeZone must deviate.", bean.getCalendar().equals(parsed.getCalendar())); in check()
96 assertEquals(bean.getCalendar().getTimeInMillis(), parsed.getCalendar().getTimeInMillis()); in check()
104 Calendar calendar = bean.getCalendar(); in testLoadBean()
DCalendarBean.java32 public Calendar getCalendar() { in getCalendar() method in CalendarBean
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPDateTimeFactory.java113 Calendar cal = dateTime.getCalendar(); in setLocalTimeZone()
130 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); in convertToUTCTime()
147 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); in convertToLocalTime()
DXMPDateTime.java96 Calendar getCalendar(); in getCalendar() method
/external/icu/icu4c/source/test/intltest/
Dcaltztst.cpp90 Calendar* CalendarTimeZoneTest::getCalendar() in getCalendar() function in CalendarTimeZoneTest
185 Calendar* cal = getCalendar(); in date()
223 Calendar* cal = getCalendar(); in dateToFields()
Ddtfmapts.cpp229 const Calendar *cal = def->getCalendar(); in testAPI()
233 if( *(de->getCalendar()) != *(it->getCalendar())) { in testAPI()
Dcaltztst.h60 Calendar* getCalendar(void);
Ddtfmtrtts.cpp289 if(fmt->getCalendar() == NULL) { in test()
293 UDate minDate = CalendarTest::minDateOfCalendar(*fmt->getCalendar(), isGregorian, minStatus); in test()
461 const char *type = fmt->getCalendar()->getType(); in test()
Ddtfmrgts.cpp531 Calendar *calA = (Calendar*) fmtA->getCalendar(); in Test4071441()
532 Calendar *calB = (Calendar*) fmtB->getCalendar(); in Test4071441()
1208 Calendar* calx = (Calendar*)fmt.getCalendar(); // cast away const! in Test4210209()
1356 cal = sdf->getCalendar()->clone(); // sdf may have deleted calendar in Test1684()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPDateTimeImpl.java278 long d = getCalendar().getTimeInMillis() in compareTo()
279 - ((XMPDateTime) dt).getCalendar().getTimeInMillis(); in compareTo()
314 public Calendar getCalendar() in getCalendar() method in XMPDateTimeImpl
DISO8601Converter.java359 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); in render()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDateFormatAPI.java197 final Calendar cal = def.getCalendar(); in TestAPI()
201 if( ! de.getCalendar().equals(it.getCalendar())) { in TestAPI()
DGlobalizationPreferencesTest.java74 Calendar cal = gp.getCalendar(); in TestDefault()
621 Calendar cal = gp.getCalendar(); in TestCalendar()
635 cal = gp.getCalendar(); in TestCalendar()
645 cal = gp.getCalendar(); in TestCalendar()
656 Calendar cal1 = gp.getCalendar(); in TestCalendar()
679 cal = gp.getCalendar(); in TestCalendar()
687 cal = gp1.getCalendar(); in TestCalendar()
1314 Calendar dfCal = df.getCalendar(); in TestDateFormat()
1330 dfCal = df.getCalendar(); in TestDateFormat()
1362 dfCal = df.getCalendar(); in TestDateFormat()
[all …]
DDateIntervalFormatTest.java896 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
897 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
1069 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
1070 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormatAPI.java196 final Calendar cal = def.getCalendar(); in TestAPI()
200 if( ! de.getCalendar().equals(it.getCalendar())) { in TestAPI()
DDateIntervalFormatTest.java895 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
896 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
1068 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
1069 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java73 Calendar cal = gp.getCalendar(); in TestDefault()
620 Calendar cal = gp.getCalendar(); in TestCalendar()
634 cal = gp.getCalendar(); in TestCalendar()
644 cal = gp.getCalendar(); in TestCalendar()
655 Calendar cal1 = gp.getCalendar(); in TestCalendar()
678 cal = gp.getCalendar(); in TestCalendar()
686 cal = gp1.getCalendar(); in TestCalendar()
1313 Calendar dfCal = df.getCalendar(); in TestDateFormat()
1329 dfCal = df.getCalendar(); in TestDateFormat()
1361 dfCal = df.getCalendar(); in TestDateFormat()
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java160 } else if (fIcuSdf.getCalendar() instanceof com.ibm.icu.util.GregorianCalendar) { in setDateFormatSymbols()
222 public Calendar getCalendar() { in getCalendar() method in SimpleDateFormatICU
223 return CalendarICU.wrap(fIcuSdf.getCalendar()); in getCalendar()
240 return getCalendar().getTimeZone(); in getTimeZone()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTime.java104 Calendar c = getCalendar(); in set()
118 Calendar c = getCalendar(); in toMillis()
258 private Calendar getCalendar() { in getCalendar() method in ShadowTime
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java432 public Calendar getCalendar() { in getCalendar() method in GlobalizationPreferences
954 result = DateFormat.getDateInstance(getCalendar(), dateStyle, dfLocale); in guessDateFormat()
956 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat()
958 result = DateFormat.getDateTimeInstance(getCalendar(), dateStyle, timeStyle, dfLocale); in guessDateFormat()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java414 public Calendar getCalendar() { in getCalendar() method in GlobalizationPreferences
922 result = DateFormat.getDateInstance(getCalendar(), dateStyle, dfLocale); in guessDateFormat()
924 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat()
926 result = DateFormat.getDateTimeInstance(getCalendar(), dateStyle, timeStyle, dfLocale); in guessDateFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java384 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
385 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
396 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
397 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java384 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
385 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
396 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
397 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h713 virtual const Calendar* getCalendar(void) const;
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java216 Calendar cal = jdkDfmt.getCalendar(); in TestCalendarKeyword()

123