Searched refs:newCalendar (Results 1 – 9 of 9) sorted by relevance
253 public void setCalendar(Calendar newCalendar) { in setCalendar() argument255 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()
272 void Win32DateFormat::adoptCalendar(Calendar *newCalendar) in adoptCalendar() argument274 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() argument291 adoptCalendar(newCalendar.clone()); in setCalendar()
562 DateFormat::adoptCalendar(Calendar* newCalendar) in adoptCalendar() argument565 fCalendar = newCalendar; in adoptCalendar()570 DateFormat::setCalendar(const Calendar& newCalendar) in setCalendar() argument572 Calendar* newCalClone = newCalendar.clone(); in setCalendar()
76 virtual void setCalendar(const Calendar& newCalendar);
748 virtual void setCalendar(const Calendar& newCalendar);
1613 public void setCalendar(Calendar newCalendar) in setCalendar() argument1615 this.calendar = newCalendar; in setCalendar()
1497 public void setCalendar(Calendar newCalendar) in setCalendar() argument1499 this.calendar = newCalendar; in setCalendar()