Home
last modified time | relevance | path

Searched refs:DAY_OF_YEAR (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java1007 case DAY_OF_YEAR:
1377 case DAY_OF_YEAR: in roll()
1386 long jan1 = fd - internalGet(DAY_OF_YEAR) + 1; in roll()
1514 case DAY_OF_YEAR: in getMaximum()
1591 case DAY_OF_YEAR: in getLeastMaximum()
1732 case DAY_OF_YEAR: in getActualMaximum()
1786 int maxDayOfYear = getActualMaximum(DAY_OF_YEAR); in getActualMaximum()
1787 gc.set(DAY_OF_YEAR, maxDayOfYear); in getActualMaximum()
1790 gc.set(DAY_OF_YEAR, maxDayOfYear - 7); in getActualMaximum()
1936 long t = (internalGet(DAY_OF_YEAR) - 1) * 24; in getYearOffsetInMillis()
[all …]
DCalendar.java448 public final static int DAY_OF_YEAR = 6; field in Calendar
919 final static int DAY_OF_YEAR_MASK = (1 << DAY_OF_YEAR);
1729 int doyStamp = stamp[DAY_OF_YEAR]; in selectFields()
DFormatter.java4061 case DateTime.DAY_OF_YEAR: { // 'j' (001 - 366)
4062 int i = t.get(Calendar.DAY_OF_YEAR);
4459 static final char DAY_OF_YEAR = 'j'; // (001 - 366)
4507 case DAY_OF_YEAR:
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java86 t_FormatWithField(11, format, date, null, Field.DAY_OF_YEAR, 113, 116); in t_format_with_FieldPosition()
115 t_FormatWithField(33, format, date, null, Field.DAY_OF_YEAR, 0, 0); in t_format_with_FieldPosition()
239 v.add(new FieldContainer(113, 116, Field.DAY_OF_YEAR)); in getDateVector4()
240 v.add(new FieldContainer(117, 120, Field.DAY_OF_YEAR)); in getDateVector4()
241 v.add(new FieldContainer(121, 124, Field.DAY_OF_YEAR)); in getDateVector4()
DSimpleDateFormatTest.java629 cal.set(Calendar.DAY_OF_YEAR, 243); in test_parse_dayOfYearPatterns()
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java130 assertEquals(352, gc.getActualMaximum(Calendar.DAY_OF_YEAR)); in test_fieldsAffectedByGregorianCutOver()
131 assertEquals(352, gc.getLeastMaximum(Calendar.DAY_OF_YEAR)); in test_fieldsAffectedByGregorianCutOver()
151 assertEquals(366, gc.getActualMaximum(Calendar.DAY_OF_YEAR)); in test_fieldsAffectedByGregorianCutOver()
152 assertEquals(365, gc.getLeastMaximum(Calendar.DAY_OF_YEAR)); in test_fieldsAffectedByGregorianCutOver()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java125 cal.set(Calendar.DAY_OF_YEAR, 170); in test_setII()
139 cal.set(Calendar.DAY_OF_YEAR, 170); in test_setII()
258 cal.set(Calendar.DAY_OF_YEAR, 70); in test_setII()
266 cal.set(Calendar.DAY_OF_YEAR, 170); in test_setII()
276 cal.set(Calendar.DAY_OF_YEAR, 70); in test_setII()
284 cal.set(Calendar.DAY_OF_YEAR, 70); in test_setII()
326 cal.set(Calendar.DAY_OF_YEAR, 70); in test_setII()
364 cal.set(Calendar.DAY_OF_YEAR, 111); in test_setII()
DGregorianCalendarTest.java254 gc1.add(Calendar.DAY_OF_YEAR, 1); in test_addII()
335 assertEquals(355, gc.getActualMaximum(Calendar.DAY_OF_YEAR)); in test_getActualMaximumI()
338 assertEquals(353, gc.getActualMaximum(Calendar.DAY_OF_YEAR)); in test_getActualMaximumI()
736 assertEquals(346, gc.get(Calendar.DAY_OF_YEAR)); in test_getI()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java961 public final static Field DAY_OF_YEAR = new field in DateFormat.Field
962 Field("day of year", Calendar.DAY_OF_YEAR);
DSimpleDateFormat.java1028 Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH,
1064 Field.DAY_OF_YEAR, Field.DAY_OF_WEEK_IN_MONTH,
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java1161 yearDay = calendar.get(Calendar.DAY_OF_YEAR) - 1;