Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestIsoWeekFields.java153 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()
DMockFieldNoValue.java116 public long getFrom(TemporalAccessor temporal) { in getFrom() method in MockFieldNoValue
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java128 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()
DTCKChronoField.java243 assertEquals(field.getFrom(accessor), value); in test_supportedAccessor()
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java332 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
DTemporalField.java263 long getFrom(TemporalAccessor temporal); in getFrom() method
DJulianFields.java280 public long getFrom(TemporalAccessor temporal) { in getFrom() method in JulianFields.Field
DChronoField.java797 public long getFrom(TemporalAccessor temporal) { in getFrom() method in ChronoField
/libcore/ojluni/src/main/java/java/time/chrono/
DEra.java244 return field.getFrom(this); in getLong()
DChronoZonedDateTime.java219 return field.getFrom(this); in getLong()
DMinguoDate.java293 return field.getFrom(this); in getLong()
DThaiBuddhistDate.java293 return field.getFrom(this); in getLong()
DChronoLocalDateTimeImpl.java268 return field.getFrom(this); in getLong()
DHijrahDate.java381 return field.getFrom(this); in getLong()
DJapaneseDate.java489 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.java448 return field.getFrom(this); in getLong()
DZoneOffset.java623 return field.getFrom(this);
DYear.java500 return field.getFrom(this); in getLong()
DYearMonth.java491 return field.getFrom(this); in getLong()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java230 return field.getFrom(this); in getLong()
DTCKChronoLocalDate.java470 public long getFrom(TemporalAccessor temporal) { in getFrom() method in TCKChronoLocalDate.FixedTemporalField

12