Home
last modified time | relevance | path

Searched refs:fCalendar (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddatefmt.cpp45 : fCalendar(0), in DateFormat()
55 fCalendar(0), in DateFormat()
68 delete fCalendar; in operator =()
70 if(other.fCalendar) { in operator =()
71 fCalendar = other.fCalendar->clone(); in operator =()
73 fCalendar = NULL; in operator =()
90 delete fCalendar; in ~DateFormat()
108 fCalendar&&(fCalendar->isEquivalentTo(*fmt->fCalendar)) && in operator ==()
201 if (fCalendar != NULL) { in format()
203 Calendar* calClone = fCalendar->clone(); in format()
[all …]
Dwindtfmt.cpp181 if (strcmp(fCalendar->getType(), cal.getType()) != 0) { in format()
202 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { in adoptCalendar()
211 delete fCalendar; in adoptCalendar()
212 fCalendar = newCalendar; in adoptCalendar()
214 fZoneID = setTimeZoneInfo(fTZI, fCalendar->getTimeZone()); in adoptCalendar()
225 fCalendar->adoptTimeZone(zoneToAdopt); in adoptTimeZone()
231 fCalendar->setTimeZone(zone); in setTimeZone()
Dsmpdtfmt.cpp694 CalendarData calData(locale, fCalendar?fCalendar->getType():NULL, status); in construct()
879fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar()
881 return fCalendar; in initializeCalendar()
912 if(fCalendar) { in initializeDefaultCentury()
913 fHaveDefaultCentury = fCalendar->haveDefaultCentury(); in initializeDefaultCentury()
915 fDefaultCenturyStart = fCalendar->defaultCenturyStart(); in initializeDefaultCentury()
916 fDefaultCenturyStartYear = fCalendar->defaultCenturyStartYear(); in initializeDefaultCentury()
945 if(!fCalendar) { in parseAmbiguousDatesAsAfter()
950 fCalendar->setTime(startDate, status); in parseAmbiguousDatesAsAfter()
954 fDefaultCenturyStartYear = fCalendar->get(UCAL_YEAR, status); in parseAmbiguousDatesAsAfter()
[all …]
Dreldtfmt.cpp589fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar()
591 if (U_SUCCESS(status) && fCalendar == NULL) { in initializeCalendar()
594 return fCalendar; in initializeCalendar()
Ddtptngen.cpp929 Calendar* fCalendar = Calendar::createInstance(locale, status); in setDateTimeFromCalendar() local
930 CalendarData calData(locale, fCalendar?fCalendar->getType():NULL, status); in setDateTimeFromCalendar()
942 delete fCalendar; in setDateTimeFromCalendar()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHolidayTest.java205 private Date startOfMonth(/*Date dateInMonth,*/ Calendar fCalendar) in startOfMonth() argument
210 int era = fCalendar.get(Calendar.ERA); in startOfMonth()
211 int year = fCalendar.get(Calendar.YEAR); in startOfMonth()
212 int month = fCalendar.get(Calendar.MONTH); in startOfMonth()
214 fCalendar.clear(); in startOfMonth()
215 fCalendar.set(Calendar.ERA, era); in startOfMonth()
216 fCalendar.set(Calendar.YEAR, year); in startOfMonth()
217 fCalendar.set(Calendar.MONTH, month); in startOfMonth()
218 fCalendar.set(Calendar.DATE, 1); in startOfMonth()
220 return fCalendar.getTime(); in startOfMonth()
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h878 Calendar* fCalendar; variable