/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 60 c.add(Calendar.DAY_OF_YEAR, -1); 62 c.add(Calendar.DAY_OF_YEAR, -(NUM_DAYS_AGO - 1)); 64 c.add(Calendar.DAY_OF_YEAR, NUM_DAYS_AGO); // move back to today
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 138 * System.out.println("DAY_OF_YEAR: " + calendar.get(Calendar.DAY_OF_YEAR)); 163 * System.out.println("DAY_OF_YEAR: " + calendar.get(Calendar.DAY_OF_YEAR)); 418 case DAY_OF_YEAR: 481 fields[DAY_OF_YEAR] = dayOfYear; 512 fields[DAY_OF_YEAR] = dayOfYear; 548 int daysFromStart = mod7(days - 3 - (fields[DAY_OF_YEAR] - 1) 550 int week = (fields[DAY_OF_YEAR] - 1 + daysFromStart) / 7 556 } else if (fields[DAY_OF_YEAR] >= (leapYear ? 367 : 366 [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_SimpleDateFormat.java | 86 t_FormatWithField(11, format, date, null, Field.DAY_OF_YEAR, 120, 123); 118 t_FormatWithField(33, format, date, null, Field.DAY_OF_YEAR, 0, 0); 246 v.add(new FieldContainer(111, 114, Field.DAY_OF_YEAR)); 247 v.add(new FieldContainer(115, 118, Field.DAY_OF_YEAR)); 248 v.add(new FieldContainer(119, 122, Field.DAY_OF_YEAR));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CalendarTest.java | 125 cal.set(Calendar.DAY_OF_YEAR, 170); 139 cal.set(Calendar.DAY_OF_YEAR, 170); 255 // DAY_OF_YEAR has priority when MONTH set last and DATE not set 258 cal.set(Calendar.DAY_OF_YEAR, 70); 263 // DAY/MONTH has priority when DATE set after DAY_OF_YEAR 266 cal.set(Calendar.DAY_OF_YEAR, 170); 272 // DAY_OF_YEAR has priority when set after DATE 276 cal.set(Calendar.DAY_OF_YEAR, 70); 284 cal.set(Calendar.DAY_OF_YEAR, 70); 322 // DAY_OF_YEAR has priority when DAY_OF_MONTH set last and other field [all...] |
GregorianCalendarTest.java | 243 gc1.add(Calendar.DAY_OF_YEAR, 1); 244 assertEquals("Wrong time after DAY_OF_YEAR change", 16, gc1 324 assertEquals(355, gc.getActualMaximum(Calendar.DAY_OF_YEAR)); 327 assertEquals(353, gc.getActualMaximum(Calendar.DAY_OF_YEAR)); 732 assertEquals(346, gc.get(Calendar.DAY_OF_YEAR));
|
/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 125 cal.set(Calendar.DAY_OF_YEAR, 170); 139 cal.set(Calendar.DAY_OF_YEAR, 170); 255 // DAY_OF_YEAR has priority when MONTH set last and DATE not set 258 cal.set(Calendar.DAY_OF_YEAR, 70); 263 // DAY/MONTH has priority when DATE set after DAY_OF_YEAR 266 cal.set(Calendar.DAY_OF_YEAR, 170); 272 // DAY_OF_YEAR has priority when set after DATE 276 cal.set(Calendar.DAY_OF_YEAR, 70); 284 cal.set(Calendar.DAY_OF_YEAR, 70); 322 // DAY_OF_YEAR has priority when DAY_OF_MONTH set last and other field [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
callimts.cpp | 217 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_YEAR is too big: " 222 errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_YEAR is too small: " 291 "DAY_OF_MONTH", "DAY_OF_YEAR", "DAY_OF_WEEK",
|
/external/icu4c/test/intltest/ |
callimts.cpp | 218 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_YEAR is too big: " 223 errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_YEAR is too small: " 292 "DAY_OF_MONTH", "DAY_OF_YEAR", "DAY_OF_WEEK",
|
/frameworks/base/core/java/android/widget/ |
DatePicker.java | 319 && mTempDate.get(Calendar.DAY_OF_YEAR) != mMinDate.get(Calendar.DAY_OF_YEAR)) { 355 && mTempDate.get(Calendar.DAY_OF_YEAR) != mMaxDate.get(Calendar.DAY_OF_YEAR)) {
|
CalendarView.java | 997 return (firstDate.get(Calendar.DAY_OF_YEAR) == secondDate.get(Calendar.DAY_OF_YEAR) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/ |
Time_Delegate.java | 140 time.yearDay = c.get(Calendar.DAY_OF_YEAR);
|
/external/chromium_org/third_party/icu/source/i18n/ |
persncal.cpp | 216 { 1, 1, 365, 366}, // DAY_OF_YEAR 347 * <li>DAY_OF_YEAR
|
cecal.cpp | 26 { 1, 1, 365, 366}, // DAY_OF_YEAR
|
calendar.cpp | 567 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // DAY_OF_YEAR 1683 int32_t day_of_year = (internalGet(UCAL_DAY_OF_YEAR) + amount*7 - local [all...] |
chnsecal.cpp | 146 { 1, 1, 353, 385}, // DAY_OF_YEAR 219 * <li>DAY_OF_YEAR 609 * DAY_OF_MONTH, and DAY_OF_YEAR fields. In either case set the MONTH
|
islamcal.cpp | 153 { 1, 1, 354, 355}, // DAY_OF_YEAR 385 * <li>DAY_OF_YEAR
|
/external/icu4c/i18n/ |
persncal.cpp | 42 { 1, 1, 365, 366}, // DAY_OF_YEAR 204 * <li>DAY_OF_YEAR
|
cecal.cpp | 26 { 1, 1, 365, 366}, // DAY_OF_YEAR
|
calendar.cpp | 598 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // DAY_OF_YEAR 1789 int32_t day_of_year = (internalGet(UCAL_DAY_OF_YEAR) + amount*7 - local [all...] |
chnsecal.cpp | 184 { 1, 1, 353, 385}, // DAY_OF_YEAR 258 * <li>DAY_OF_YEAR 672 * DAY_OF_MONTH, and DAY_OF_YEAR fields. In either case set the MONTH [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
SunCalculator.java | 300 return date.get(Calendar.DAY_OF_YEAR);
|
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 171 * {@link Calendar#DAY_OF_YEAR} field. 725 public static final Field DAY_OF_YEAR = new Field("day of year", Calendar.DAY_OF_YEAR);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
gregocal.h | 105 * cout << "DAY_OF_YEAR: " << calendar->get( UCAL_DAY_OF_YEAR, success ) << endl; 127 * cout << "DAY_OF_YEAR: " << calendar->get( UCAL_DAY_OF_YEAR, success ) << endl; 641 * <li>DAY_OF_YEAR [all...] |
/external/icu4c/i18n/unicode/ |
gregocal.h | 105 * cout << "DAY_OF_YEAR: " << calendar->get( UCAL_DAY_OF_YEAR, success ) << endl; 127 * cout << "DAY_OF_YEAR: " << calendar->get( UCAL_DAY_OF_YEAR, success ) << endl; 643 * <li>DAY_OF_YEAR [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
Alarm.java | 312 nextInstanceTime.add(Calendar.DAY_OF_YEAR, 1);
|