HomeSort by relevance Sort by last modified time
    Searched refs:fCalendar (Results 1 - 10 of 10) sorted by null

  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
CalendarPanel.java 40 for (int i = 0; i < fCalendar.length; i++) {
41 if (fCalendar[i] != null) {
42 fSymbols[i] = new DateFormatSymbols(fCalendar[i],
61 synchronized(fCalendar) {
62 fCalendar[0].setTime(fStartOfMonth);
63 fCalendar[0].add(field, delta);
64 fStartOfMonth = fCalendar[0].getTime();
76 Date date = (fCalendar[index] == null) ? new Date()
77 : fCalendar[index].getTime();
79 fCalendar[index] = c
    [all...]
  /external/icu/icu4c/source/i18n/
datefmt.cpp 124 : fCalendar(0),
134 fCalendar(0),
147 delete fCalendar;
149 if(other.fCalendar) {
150 fCalendar = other.fCalendar->clone();
152 fCalendar = NULL;
169 delete fCalendar;
187 fCalendar&&(fCalendar->isEquivalentTo(*fmt->fCalendar)) &
    [all...]
windtfmt.cpp 115 // delete fCalendar;
122 // The following handles fCalendar
125 // delete fCalendar;
132 // this->fCalendar = other.fCalendar->clone();
181 if (strcmp(fCalendar->getType(), cal.getType()) != 0) {
202 if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) {
211 delete fCalendar;
212 fCalendar = newCalendar
    [all...]
reldtfmt.cpp 120 // Initialize the parent fCalendar, so that parse() works correctly.
589 fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status);
591 if (U_SUCCESS(status) && fCalendar == NULL) {
594 return fCalendar;
smpdtfmt.cpp 698 CalendarData calData(locale, fCalendar?fCalendar->getType():NULL, status);
883 fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status);
885 return fCalendar;
916 if(fCalendar) {
917 fHaveDefaultCentury = fCalendar->haveDefaultCentury();
919 fDefaultCenturyStart = fCalendar->defaultCenturyStart();
920 fDefaultCenturyStartYear = fCalendar->defaultCenturyStartYear();
949 if(!fCalendar) {
954 fCalendar->setTime(startDate, status)
    [all...]
dtptngen.cpp     [all...]
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
HolidayCalendarDemo.java 428 set(locale, fDisplayLocale, fCalendar.getTime());
432 set(fCalendarLocale, locale, fCalendar.getTime());
443 fCalendar = Calendar.getInstance(fCalendarLocale);
459 synchronized(fCalendar) {
460 fCalendar.setTime(fStartOfMonth);
461 fCalendar.add(field, delta);
462 fStartOfMonth = fCalendar.getTime();
469 return fCalendar;
487 synchronized(fCalendar) {
488 fCalendar.setTime(dateInMonth); // TODO: synchronizatio
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
HolidayTest.java 209 private Date startOfMonth(/*Date dateInMonth,*/ Calendar fCalendar)
211 //synchronized(fCalendar) {
212 // fCalendar.setTime(dateInMonth); // TODO: synchronization
214 int era = fCalendar.get(Calendar.ERA);
215 int year = fCalendar.get(Calendar.YEAR);
216 int month = fCalendar.get(Calendar.MONTH);
218 fCalendar.clear();
219 fCalendar.set(Calendar.ERA, era);
220 fCalendar.set(Calendar.YEAR, year);
221 fCalendar.set(Calendar.MONTH, month)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
HolidayTest.java 205 private Date startOfMonth(/*Date dateInMonth,*/ Calendar fCalendar)
207 //synchronized(fCalendar) {
208 // fCalendar.setTime(dateInMonth); // TODO: synchronization
210 int era = fCalendar.get(Calendar.ERA);
211 int year = fCalendar.get(Calendar.YEAR);
212 int month = fCalendar.get(Calendar.MONTH);
214 fCalendar.clear();
215 fCalendar.set(Calendar.ERA, era);
216 fCalendar.set(Calendar.YEAR, year);
217 fCalendar.set(Calendar.MONTH, month)
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
datefmt.h     [all...]

Completed in 613 milliseconds