/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 153 assertEquals(yearField.getFrom(date), wby); in test_getFrom() 154 assertEquals(weekField.getFrom(date), week); in test_getFrom() 155 assertEquals(DAY_OF_WEEK.getFrom(date), dow); in test_getFrom() 168 assertEquals(yearField.getFrom(date), 2017); in test_getFrom() 169 assertEquals(weekField.getFrom(date), 1); in test_getFrom() 170 assertEquals(DAY_OF_WEEK.getFrom(date), 1); in test_getFrom()
|
D | MockFieldNoValue.java | 116 public long getFrom(TemporalAccessor temporal) { in getFrom() method in MockFieldNoValue
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 128 assertEquals(IsoFields.DAY_OF_QUARTER.getFrom(date), doq); in test_DOQ() 142 assertEquals(IsoFields.QUARTER_OF_YEAR.getFrom(date), qoy); in test_QOY() 326 assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.getFrom(date), week); in test_WOWBY() 341 assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby); in test_WBY() 475 assertEquals(field.getFrom(date), value); in test_isofields_getFrom() 480 field.getFrom(ThaiBuddhistDate.now()); in test_nonisofields_getFrom() 507 …assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.getFrom(date), week, "Failed on " + date + " " + da… in test_loop() 509 …assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby, "Failed on " + date + " " + date.getDay… in test_loop()
|
D | TCKChronoField.java | 243 assertEquals(field.getFrom(accessor), value); in test_supportedAccessor()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 332 public long getFrom(TemporalAccessor temporal) { in getFrom() method 345 long curValue = getFrom(temporal); in adjustInto() 404 public long getFrom(TemporalAccessor temporal) { in getFrom() method 421 long curValue = getFrom(temporal); in adjustInto() 475 public long getFrom(TemporalAccessor temporal) { in getFrom() method 486 return (R) temporal.plus(Math.subtractExact(newValue, getFrom(temporal)), WEEKS); in adjustInto() 549 public long getFrom(TemporalAccessor temporal) { in getFrom() method
|
D | TemporalField.java | 263 long getFrom(TemporalAccessor temporal); in getFrom() method
|
D | JulianFields.java | 280 public long getFrom(TemporalAccessor temporal) { in getFrom() method in JulianFields.Field
|
D | ChronoField.java | 797 public long getFrom(TemporalAccessor temporal) { in getFrom() method in ChronoField
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Era.java | 244 return field.getFrom(this); in getLong()
|
D | ChronoZonedDateTime.java | 219 return field.getFrom(this); in getLong()
|
D | MinguoDate.java | 293 return field.getFrom(this); in getLong()
|
D | ThaiBuddhistDate.java | 293 return field.getFrom(this); in getLong()
|
D | ChronoLocalDateTimeImpl.java | 268 return field.getFrom(this); in getLong()
|
D | HijrahDate.java | 381 return field.getFrom(this); in getLong()
|
D | JapaneseDate.java | 489 return field.getFrom(this); in getLong()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | EraTest.java | 119 public long getFrom(TemporalAccessor temporal) { in getFrom() method in EraTest.TestTemporalField
|
/libcore/ojluni/src/main/java/java/time/ |
D | DayOfWeek.java | 350 return field.getFrom(this); in getLong()
|
D | Month.java | 377 return field.getFrom(this); in getLong()
|
D | Instant.java | 562 return range(field).checkValidIntValue(field.getFrom(this), field); in get() 599 return field.getFrom(this); in getLong()
|
D | MonthDay.java | 448 return field.getFrom(this); in getLong()
|
D | ZoneOffset.java | 623 return field.getFrom(this);
|
D | Year.java | 500 return field.getFrom(this); in getLong()
|
D | YearMonth.java | 491 return field.getFrom(this); in getLong()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 230 return field.getFrom(this); in getLong()
|
D | TCKChronoLocalDate.java | 470 public long getFrom(TemporalAccessor temporal) { in getFrom() method in TCKChronoLocalDate.FixedTemporalField
|