Home
last modified time | relevance | path

Searched refs:getFrom (Results 1 – 25 of 33) sorted by relevance

12

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestIsoWeekFields.java143 assertEquals(yearField.getFrom(date), wby); in test_getFrom()
144 assertEquals(weekField.getFrom(date), week); in test_getFrom()
145 assertEquals(DAY_OF_WEEK.getFrom(date), dow); in test_getFrom()
158 assertEquals(yearField.getFrom(date), 2017); in test_getFrom()
159 assertEquals(weekField.getFrom(date), 1); in test_getFrom()
160 assertEquals(DAY_OF_WEEK.getFrom(date), 1); in test_getFrom()
DMockFieldNoValue.java116 public long getFrom(TemporalAccessor temporal) { in getFrom() method in MockFieldNoValue
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java325 public long getFrom(TemporalAccessor temporal) { in getFrom() method
338 long curValue = getFrom(temporal); in adjustInto()
397 public long getFrom(TemporalAccessor temporal) { in getFrom() method
408 long curValue = getFrom(temporal); in adjustInto()
453 public long getFrom(TemporalAccessor temporal) { in getFrom() method
464 return (R) temporal.plus(Math.subtractExact(newValue, getFrom(temporal)), WEEKS); in adjustInto()
527 public long getFrom(TemporalAccessor temporal) { in getFrom() method
DTemporalField.java263 long getFrom(TemporalAccessor temporal); in getFrom() method
DJulianFields.java276 public long getFrom(TemporalAccessor temporal) { in getFrom() method in JulianFields.Field
DChronoField.java764 public long getFrom(TemporalAccessor temporal) { in getFrom() method in ChronoField
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java125 assertEquals(IsoFields.DAY_OF_QUARTER.getFrom(date), doq); in test_DOQ()
139 assertEquals(IsoFields.QUARTER_OF_YEAR.getFrom(date), qoy); in test_QOY()
323 assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.getFrom(date), week); in test_WOWBY()
338 assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby); in test_WBY()
465 …assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.getFrom(date), week, "Failed on " + date + " " + da… in test_loop()
467 …assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby, "Failed on " + date + " " + date.getDay… in test_loop()
DTCKChronoField.java243 assertEquals(field.getFrom(accessor), value); in test_supportedAccessor()
/libcore/ojluni/src/main/java/java/time/chrono/
DEra.java244 return field.getFrom(this); in getLong()
DChronoZonedDateTime.java212 return field.getFrom(this); in getLong()
DThaiBuddhistDate.java292 return field.getFrom(this); in getLong()
DMinguoDate.java292 return field.getFrom(this); in getLong()
DChronoLocalDateTimeImpl.java271 return field.getFrom(this); in getLong()
DHijrahDate.java380 return field.getFrom(this); in getLong()
DJapaneseDate.java492 return field.getFrom(this); in getLong()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DEraTest.java119 public long getFrom(TemporalAccessor temporal) { in getFrom() method in EraTest.TestTemporalField
/libcore/ojluni/src/main/java/java/time/
DDayOfWeek.java350 return field.getFrom(this); in getLong()
DMonth.java377 return field.getFrom(this); in getLong()
DInstant.java562 return range(field).checkValidIntValue(field.getFrom(this), field); in get()
599 return field.getFrom(this); in getLong()
DMonthDay.java447 return field.getFrom(this); in getLong()
DZoneOffset.java622 return field.getFrom(this);
DYear.java499 return field.getFrom(this); in getLong()
DYearMonth.java490 return field.getFrom(this); in getLong()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java229 return field.getFrom(this); in getLong()
DTCKChronoLocalDate.java470 public long getFrom(TemporalAccessor temporal) { in getFrom() method in TCKChronoLocalDate.FixedTemporalField

12