/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarPanel.java | 42 for (int i = 0; i < fCalendar.length; i++) { in setLocale() 43 if (fCalendar[i] != null) { in setLocale() 44 fSymbols[i] = new DateFormatSymbols(fCalendar[i], in setLocale() 63 synchronized(fCalendar) { in add() 64 fCalendar[0].setTime(fStartOfMonth); in add() 65 fCalendar[0].add(field, delta); in add() 66 fStartOfMonth = fCalendar[0].getTime(); in add() 78 Date date = (fCalendar[index] == null) ? new Date() in setCalendar() 79 : fCalendar[index].getTime(); in setCalendar() 81 fCalendar[index] = c; in setCalendar() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | datefmt.cpp | 126 : fCalendar(0), in DateFormat() 136 fCalendar(0), in DateFormat() 149 delete fCalendar; in operator =() 151 if(other.fCalendar) { in operator =() 152 fCalendar = other.fCalendar->clone(); in operator =() 154 fCalendar = NULL; in operator =() 171 delete fCalendar; in ~DateFormat() 189 fCalendar&&(fCalendar->isEquivalentTo(*fmt->fCalendar)) && in operator ==() 282 if (fCalendar != NULL) { in format() 284 Calendar* calClone = fCalendar->clone(); in format() [all …]
|
D | windtfmt.cpp | 252 if (strcmp(fCalendar->getType(), cal.getType()) != 0) { in format() 273 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar() 282 delete fCalendar; in adoptCalendar() 283 fCalendar = newCalendar; in adoptCalendar() 285 fZoneID = setTimeZoneInfo(fTZI, fCalendar->getTimeZone()); in adoptCalendar() 296 fCalendar->adoptTimeZone(zoneToAdopt); in adoptTimeZone() 302 fCalendar->setTimeZone(zone); in setTimeZone()
|
D | smpdtfmt.cpp | 664 const char* cType = fCalendar ? fCalendar->getType() : NULL; in construct() 848 …fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar() 850 return fCalendar; in initializeCalendar() 884 if(fCalendar) { in initializeDefaultCentury() 885 fHaveDefaultCentury = fCalendar->haveDefaultCentury(); in initializeDefaultCentury() 887 fDefaultCenturyStart = fCalendar->defaultCenturyStart(); in initializeDefaultCentury() 888 fDefaultCenturyStartYear = fCalendar->defaultCenturyStartYear(); in initializeDefaultCentury() 917 if(!fCalendar) { in parseAmbiguousDatesAsAfter() 922 fCalendar->setTime(startDate, status); in parseAmbiguousDatesAsAfter() 926 fDefaultCenturyStartYear = fCalendar->get(UCAL_YEAR, status); in parseAmbiguousDatesAsAfter() [all …]
|
D | reldtfmt.cpp | 568 …fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar() 570 if (U_SUCCESS(status) && fCalendar == NULL) { in initializeCalendar() 573 return fCalendar; in initializeCalendar()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | datefmt.cpp | 126 : fCalendar(0), in DateFormat() 136 fCalendar(0), in DateFormat() 149 delete fCalendar; in operator =() 151 if(other.fCalendar) { in operator =() 152 fCalendar = other.fCalendar->clone(); in operator =() 154 fCalendar = NULL; in operator =() 171 delete fCalendar; in ~DateFormat() 189 fCalendar&&(fCalendar->isEquivalentTo(*fmt->fCalendar)) && in operator ==() 282 if (fCalendar != NULL) { in format() 284 Calendar* calClone = fCalendar->clone(); in format() [all …]
|
D | windtfmt.cpp | 253 if (strcmp(fCalendar->getType(), cal.getType()) != 0) { in format() 274 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar() 283 delete fCalendar; in adoptCalendar() 284 fCalendar = newCalendar; in adoptCalendar() 286 fZoneID = setTimeZoneInfo(fTZI, fCalendar->getTimeZone()); in adoptCalendar() 297 fCalendar->adoptTimeZone(zoneToAdopt); in adoptTimeZone() 303 fCalendar->setTimeZone(zone); in setTimeZone()
|
D | smpdtfmt.cpp | 681 const char* cType = fCalendar ? fCalendar->getType() : NULL; in construct() 908 fCalendar = Calendar::createInstance( in initializeCalendar() 911 return fCalendar; in initializeCalendar() 926 fCalendar != nullptr && uprv_strcmp(fCalendar->getType(),"japanese") == 0 && in initialize() 954 if(fCalendar) { in initializeDefaultCentury() 955 fHaveDefaultCentury = fCalendar->haveDefaultCentury(); in initializeDefaultCentury() 957 fDefaultCenturyStart = fCalendar->defaultCenturyStart(); in initializeDefaultCentury() 958 fDefaultCenturyStartYear = fCalendar->defaultCenturyStartYear(); in initializeDefaultCentury() 987 if(!fCalendar) { in parseAmbiguousDatesAsAfter() 992 fCalendar->setTime(startDate, status); in parseAmbiguousDatesAsAfter() [all …]
|
D | reldtfmt.cpp | 568 …fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar() 570 if (U_SUCCESS(status) && fCalendar == NULL) { in initializeCalendar() 573 return fCalendar; in initializeCalendar()
|
/third_party/icu/icu4c/source/i18n/ |
D | datefmt.cpp | 126 : fCalendar(0), in DateFormat() 136 fCalendar(0), in DateFormat() 149 delete fCalendar; in operator =() 151 if(other.fCalendar) { in operator =() 152 fCalendar = other.fCalendar->clone(); in operator =() 154 fCalendar = NULL; in operator =() 171 delete fCalendar; in ~DateFormat() 189 fCalendar&&(fCalendar->isEquivalentTo(*fmt->fCalendar)) && in operator ==() 282 if (fCalendar != NULL) { in format() 284 Calendar* calClone = fCalendar->clone(); in format() [all …]
|
D | windtfmt.cpp | 258 if (strcmp(fCalendar->getType(), cal.getType()) != 0) { in format() 279 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar() 288 delete fCalendar; in adoptCalendar() 289 fCalendar = newCalendar; in adoptCalendar() 291 fZoneID = setTimeZoneInfo(fTZI, fCalendar->getTimeZone()); in adoptCalendar() 302 fCalendar->adoptTimeZone(zoneToAdopt); in adoptTimeZone() 308 fCalendar->setTimeZone(zone); in setTimeZone()
|
D | smpdtfmt.cpp | 681 const char* cType = fCalendar ? fCalendar->getType() : NULL; in construct() 908 fCalendar = Calendar::createInstance( in initializeCalendar() 911 return fCalendar; in initializeCalendar() 926 fCalendar != nullptr && uprv_strcmp(fCalendar->getType(),"japanese") == 0 && in initialize() 954 if(fCalendar) { in initializeDefaultCentury() 955 fHaveDefaultCentury = fCalendar->haveDefaultCentury(); in initializeDefaultCentury() 957 fDefaultCenturyStart = fCalendar->defaultCenturyStart(); in initializeDefaultCentury() 958 fDefaultCenturyStartYear = fCalendar->defaultCenturyStartYear(); in initializeDefaultCentury() 987 if(!fCalendar) { in parseAmbiguousDatesAsAfter() 992 fCalendar->setTime(startDate, status); in parseAmbiguousDatesAsAfter() [all …]
|
D | reldtfmt.cpp | 568 …fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar() 570 if (U_SUCCESS(status) && fCalendar == NULL) { in initializeCalendar() 573 return fCalendar; in initializeCalendar()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | datefmt.cpp | 124 : fCalendar(0), in DateFormat() 134 fCalendar(0), in DateFormat() 147 delete fCalendar; in operator =() 149 if(other.fCalendar) { in operator =() 150 fCalendar = other.fCalendar->clone(); in operator =() 152 fCalendar = NULL; in operator =() 169 delete fCalendar; in ~DateFormat() 187 fCalendar&&(fCalendar->isEquivalentTo(*fmt->fCalendar)) && in operator ==() 280 if (fCalendar != NULL) { in format() 282 Calendar* calClone = fCalendar->clone(); in format() [all …]
|
D | windtfmt.cpp | 253 if (strcmp(fCalendar->getType(), cal.getType()) != 0) { in format() 274 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar() 283 delete fCalendar; in adoptCalendar() 284 fCalendar = newCalendar; in adoptCalendar() 286 fZoneID = setTimeZoneInfo(fTZI, fCalendar->getTimeZone()); in adoptCalendar() 297 fCalendar->adoptTimeZone(zoneToAdopt); in adoptTimeZone() 303 fCalendar->setTimeZone(zone); in setTimeZone()
|
D | smpdtfmt.cpp | 700 const char* cType = fCalendar ? fCalendar->getType() : NULL; in construct() 927 fCalendar = Calendar::createInstance( in initializeCalendar() 930 return fCalendar; in initializeCalendar() 945 fCalendar != nullptr && uprv_strcmp(fCalendar->getType(),"japanese") == 0 && in initialize() 973 if(fCalendar) { in initializeDefaultCentury() 974 fHaveDefaultCentury = fCalendar->haveDefaultCentury(); in initializeDefaultCentury() 976 fDefaultCenturyStart = fCalendar->defaultCenturyStart(); in initializeDefaultCentury() 977 fDefaultCenturyStartYear = fCalendar->defaultCenturyStartYear(); in initializeDefaultCentury() 1006 if(!fCalendar) { in parseAmbiguousDatesAsAfter() 1011 fCalendar->setTime(startDate, status); in parseAmbiguousDatesAsAfter() [all …]
|
D | reldtfmt.cpp | 568 …fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar() 570 if (U_SUCCESS(status) && fCalendar == NULL) { in initializeCalendar() 573 return fCalendar; in initializeCalendar()
|
D | dtptngen.cpp | 1355 LocalPointer<Calendar> fCalendar(Calendar::createInstance(locale, status), status); in setDateTimeFromCalendar() local 1364 if (fCalendar->getType() != nullptr && *fCalendar->getType() != '\0' in setDateTimeFromCalendar() 1365 && uprv_strcmp(fCalendar->getType(), DT_DateTimeGregorianTag) != 0) { in setDateTimeFromCalendar() 1366 … dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), fCalendar->getType(), in setDateTimeFromCalendar()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
D | HolidayCalendarDemo.java | 430 set(locale, fDisplayLocale, fCalendar.getTime()); in setCalendarLocale() 434 set(fCalendarLocale, locale, fCalendar.getTime()); in setDisplayLocale() 445 fCalendar = Calendar.getInstance(fCalendarLocale); in set() 461 synchronized(fCalendar) { in add() 462 fCalendar.setTime(fStartOfMonth); in add() 463 fCalendar.add(field, delta); in add() 464 fStartOfMonth = fCalendar.getTime(); in add() 471 return fCalendar; in getCalendar() 489 synchronized(fCalendar) { in startOfMonth() 490 fCalendar.setTime(dateInMonth); // TODO: synchronization in startOfMonth() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | HolidayTest.java | 213 private Date startOfMonth(/*Date dateInMonth,*/ Calendar fCalendar) in startOfMonth() argument 218 int era = fCalendar.get(Calendar.ERA); in startOfMonth() 219 int year = fCalendar.get(Calendar.YEAR); in startOfMonth() 220 int month = fCalendar.get(Calendar.MONTH); in startOfMonth() 222 fCalendar.clear(); in startOfMonth() 223 fCalendar.set(Calendar.ERA, era); in startOfMonth() 224 fCalendar.set(Calendar.YEAR, year); in startOfMonth() 225 fCalendar.set(Calendar.MONTH, month); in startOfMonth() 226 fCalendar.set(Calendar.DATE, 1); in startOfMonth() 228 return fCalendar.getTime(); in startOfMonth()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | HolidayTest.java | 216 private Date startOfMonth(/*Date dateInMonth,*/ Calendar fCalendar) in startOfMonth() argument 221 int era = fCalendar.get(Calendar.ERA); in startOfMonth() 222 int year = fCalendar.get(Calendar.YEAR); in startOfMonth() 223 int month = fCalendar.get(Calendar.MONTH); in startOfMonth() 225 fCalendar.clear(); in startOfMonth() 226 fCalendar.set(Calendar.ERA, era); in startOfMonth() 227 fCalendar.set(Calendar.YEAR, year); in startOfMonth() 228 fCalendar.set(Calendar.MONTH, month); in startOfMonth() 229 fCalendar.set(Calendar.DATE, 1); in startOfMonth() 231 return fCalendar.getTime(); in startOfMonth()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | datefmt.h | 862 Calendar* fCalendar; variable
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | datefmt.h | 872 Calendar* fCalendar; variable
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | datefmt.h | 872 Calendar* fCalendar; variable
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | datefmt.h | 872 Calendar* fCalendar; variable
|