Home
last modified time | relevance | path

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

/third_party/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()
/third_party/icu/icu4c/source/i18n/
Dwindtfmt.cpp277 void Win32DateFormat::adoptCalendar(Calendar *newCalendar) in adoptCalendar() argument
279 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar()
284 fDateTimeMsg = getTimeDateFormat(newCalendar, &fLocale, status); in adoptCalendar()
289 fCalendar = newCalendar; in adoptCalendar()
294 void Win32DateFormat::setCalendar(const Calendar &newCalendar) in setCalendar() argument
296 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);
/third_party/flutter/skia/third_party/externals/icu/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);
/third_party/node/deps/icu-small/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.cpp560 DateFormat::adoptCalendar(Calendar* newCalendar) in adoptCalendar() argument
563 fCalendar = newCalendar; in adoptCalendar()
568 DateFormat::setCalendar(const Calendar& newCalendar) in setCalendar() argument
570 Calendar* newCalClone = newCalendar.clone(); in setCalendar()
Dwindtfmt.h76 virtual void setCalendar(const Calendar& newCalendar);
/third_party/skia/third_party/externals/icu/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);
/third_party/icu/icu4c/source/i18n/unicode/
Ddatefmt.h748 virtual void setCalendar(const Calendar& newCalendar);
/third_party/node/deps/icu-small/source/i18n/unicode/
Ddatefmt.h748 virtual void setCalendar(const Calendar& newCalendar);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Ddatefmt.h748 virtual void setCalendar(const Calendar& newCalendar);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Ddatefmt.h738 virtual void setCalendar(const Calendar& newCalendar);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java1607 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1609 this.calendar = newCalendar; in setCalendar()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateFormat.java1497 public void setCalendar(Calendar newCalendar) in setCalendar() argument
1499 this.calendar = newCalendar; in setCalendar()