Home
last modified time | relevance | path

Searched refs:newCalendar (Results 1 – 8 of 8) 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.cpp271 void Win32DateFormat::adoptCalendar(Calendar *newCalendar) in adoptCalendar() argument
273 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar()
278 fDateTimeMsg = getTimeDateFormat(newCalendar, &fLocale, status); in adoptCalendar()
283 fCalendar = newCalendar; in adoptCalendar()
288 void Win32DateFormat::setCalendar(const Calendar &newCalendar) in setCalendar() argument
290 adoptCalendar(newCalendar.clone()); in setCalendar()
Ddatefmt.cpp557 DateFormat::adoptCalendar(Calendar* newCalendar) in adoptCalendar() argument
560 fCalendar = newCalendar; in adoptCalendar()
565 DateFormat::setCalendar(const Calendar& newCalendar) in setCalendar() argument
567 Calendar* newCalClone = newCalendar.clone(); in setCalendar()
Dwindtfmt.h76 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h738 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java1552 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1554 this.calendar = newCalendar; in setCalendar()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormat.java1440 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1442 this.calendar = newCalendar; in setCalendar()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDateFormat.java1275 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1277 dateFormat.setCalendar(newCalendar.calendar); in setCalendar()