Home
last modified time | relevance | path

Searched refs:newCalendar (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java253 public void setCalendar(Calendar newCalendar) { in setCalendar() argument
255 if (newCalendar instanceof CalendarICU) { in setCalendar()
256 icuCal = ((CalendarICU)newCalendar).unwrap(); in setCalendar()
263 com.ibm.icu.util.TimeZone icuTz = TimeZoneJDK.wrap(newCalendar.getTimeZone()); in setCalendar()
264 if (newCalendar instanceof GregorianCalendar) { in setCalendar()
267 newCalendar.setTimeInMillis(SAMPLE_TIME); in setCalendar()
268 int year = newCalendar.get(Calendar.YEAR); in setCalendar()
279 icuCal.setFirstDayOfWeek(newCalendar.getFirstDayOfWeek()); in setCalendar()
280 icuCal.setLenient(newCalendar.isLenient()); in setCalendar()
281 icuCal.setMinimalDaysInFirstWeek(newCalendar.getMinimalDaysInFirstWeek()); in setCalendar()
/external/icu/icu4c/source/i18n/
Dwindtfmt.cpp272 void Win32DateFormat::adoptCalendar(Calendar *newCalendar) in adoptCalendar() argument
274 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar()
279 fDateTimeMsg = getTimeDateFormat(newCalendar, &fLocale, status); in adoptCalendar()
284 fCalendar = newCalendar; in adoptCalendar()
289 void Win32DateFormat::setCalendar(const Calendar &newCalendar) in setCalendar() argument
291 adoptCalendar(newCalendar.clone()); in setCalendar()
Ddatefmt.cpp562 DateFormat::adoptCalendar(Calendar* newCalendar) in adoptCalendar() argument
565 fCalendar = newCalendar; in adoptCalendar()
570 DateFormat::setCalendar(const Calendar& newCalendar) in setCalendar() argument
572 Calendar* newCalClone = newCalendar.clone(); in setCalendar()
Dwindtfmt.h76 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/libicu/cts_headers/
Dwindtfmt.h76 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/libicu/cts_headers/unicode/
Ddatefmt.h748 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h748 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java1613 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1615 this.calendar = newCalendar; in setCalendar()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormat.java1497 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1499 this.calendar = newCalendar; in setCalendar()