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.java251 public void setCalendar(Calendar newCalendar) { in setCalendar() argument
253 if (newCalendar instanceof CalendarICU) { in setCalendar()
254 icuCal = ((CalendarICU)newCalendar).unwrap(); in setCalendar()
261 com.ibm.icu.util.TimeZone icuTz = TimeZoneJDK.wrap(newCalendar.getTimeZone()); in setCalendar()
262 if (newCalendar instanceof GregorianCalendar) { in setCalendar()
265 newCalendar.setTimeInMillis(SAMPLE_TIME); in setCalendar()
266 int year = newCalendar.get(Calendar.YEAR); in setCalendar()
277 icuCal.setFirstDayOfWeek(newCalendar.getFirstDayOfWeek()); in setCalendar()
278 icuCal.setLenient(newCalendar.isLenient()); in setCalendar()
279 icuCal.setMinimalDaysInFirstWeek(newCalendar.getMinimalDaysInFirstWeek()); in setCalendar()
/external/icu/icu4c/source/i18n/
Dwindtfmt.cpp200 void Win32DateFormat::adoptCalendar(Calendar *newCalendar) in adoptCalendar() argument
202 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar()
207 fDateTimeMsg = getTimeDateFormat(newCalendar, &fLocale, status); in adoptCalendar()
212 fCalendar = newCalendar; in adoptCalendar()
217 void Win32DateFormat::setCalendar(const Calendar &newCalendar) in setCalendar() argument
219 adoptCalendar(newCalendar.clone()); in setCalendar()
Ddatefmt.cpp555 DateFormat::adoptCalendar(Calendar* newCalendar) in adoptCalendar() argument
558 fCalendar = newCalendar; in adoptCalendar()
563 DateFormat::setCalendar(const Calendar& newCalendar) in setCalendar() argument
565 Calendar* newCalClone = newCalendar.clone(); in setCalendar()
Dwindtfmt.h74 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h733 virtual void setCalendar(const Calendar& newCalendar);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormat.java1421 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1423 this.calendar = newCalendar; in setCalendar()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java1533 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1535 this.calendar = newCalendar; in setCalendar()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDateFormat.java1273 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1275 dateFormat.setCalendar(newCalendar.calendar); in setCalendar()