Home
last modified time | relevance | path

Searched refs:getCalendar (Results 1 – 25 of 66) 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()
466 const char *type = fmt->getCalendar()->getType(); in test()
Dtsdate.cpp169 Locale loc = fFormat->getCalendar()->getLocale(ULOC_VALID_LOCALE, status); in tryDate()
/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
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDateFormatAPI.java196 final Calendar cal = def.getCalendar(); in TestAPI()
200 if( ! de.getCalendar().equals(it.getCalendar())) { in TestAPI()
DGlobalizationPreferencesTest.java77 Calendar cal = gp.getCalendar(); in TestDefault()
634 Calendar cal = gp.getCalendar(); in TestCalendar()
648 cal = gp.getCalendar(); in TestCalendar()
658 cal = gp.getCalendar(); in TestCalendar()
669 Calendar cal1 = gp.getCalendar(); in TestCalendar()
692 cal = gp.getCalendar(); in TestCalendar()
700 cal = gp1.getCalendar(); in TestCalendar()
1327 Calendar dfCal = df.getCalendar(); in TestDateFormat()
1343 dfCal = df.getCalendar(); in TestDateFormat()
1375 dfCal = df.getCalendar(); in TestDateFormat()
[all …]
DDateIntervalFormatTest.java1097 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
1098 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
1270 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
1271 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormatAPI.java193 final Calendar cal = def.getCalendar(); in TestAPI()
197 if( ! de.getCalendar().equals(it.getCalendar())) { in TestAPI()
DDateIntervalFormatTest.java1094 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
1095 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR()
1267 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
1268 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java74 Calendar cal = gp.getCalendar(); in TestDefault()
631 Calendar cal = gp.getCalendar(); in TestCalendar()
645 cal = gp.getCalendar(); in TestCalendar()
655 cal = gp.getCalendar(); in TestCalendar()
666 Calendar cal1 = gp.getCalendar(); in TestCalendar()
689 cal = gp.getCalendar(); in TestCalendar()
697 cal = gp1.getCalendar(); in TestCalendar()
1324 Calendar dfCal = df.getCalendar(); in TestDateFormat()
1340 dfCal = df.getCalendar(); in TestDateFormat()
1372 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-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTime.java109 Calendar c = getCalendar(); in set()
123 Calendar c = getCalendar(); in toMillis()
319 private Calendar getCalendar() { in getCalendar() method in ShadowTime
DShadowDatePickerDialog.java72 public Calendar getCalendar() { in getCalendar() method in ShadowDatePickerDialog
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java428 public Calendar getCalendar() { in getCalendar() method in GlobalizationPreferences
951 result = DateFormat.getDateInstance(getCalendar(), dateStyle, dfLocale); in guessDateFormat()
953 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat()
955 result = DateFormat.getDateTimeInstance(getCalendar(), dateStyle, timeStyle, dfLocale); in guessDateFormat()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java410 public Calendar getCalendar() { in getCalendar() method in GlobalizationPreferences
919 result = DateFormat.getDateInstance(getCalendar(), dateStyle, dfLocale); in guessDateFormat()
921 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat()
923 result = DateFormat.getDateTimeInstance(getCalendar(), dateStyle, timeStyle, dfLocale); in guessDateFormat()
/external/cldr/tools/java/org/unicode/cldr/test/
DPrintTransitions.java44 Calendar cal = fmt.getCalendar(); in main()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java211 Calendar cal = jdkDfmt.getCalendar(); in TestCalendarKeyword()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java514 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
515 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
526 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
527 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java525 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
526 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
537 fFromCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()
538 fToCalendar = (Calendar) fDateFormat.getCalendar().clone(); in DateIntervalFormat()

123