Home
last modified time | relevance | path

Searched refs:Temporal (Results 1 – 25 of 59) sorted by relevance

123

/libcore/ojluni/src/main/java/java/time/temporal/
DTemporal.java129 public interface Temporal extends TemporalAccessor { interface
189 default Temporal with(TemporalAdjuster adjuster) { in with()
225 Temporal with(TemporalField field, long newValue); in with()
261 default Temporal plus(TemporalAmount amount) { in plus()
297 Temporal plus(long amountToAdd, TemporalUnit unit); in plus()
333 default Temporal minus(TemporalAmount amount) { in minus()
369 default Temporal minus(long amountToSubtract, TemporalUnit unit) { in minus()
447 long until(Temporal endExclusive, TemporalUnit unit); in until()
DTemporalAmount.java176 Temporal addTo(Temporal temporal); in addTo()
218 Temporal subtractFrom(Temporal temporal); in subtractFrom()
DTemporalUnit.java168 default boolean isSupportedBy(Temporal temporal) { in isSupportedBy()
227 <R extends Temporal> R addTo(R temporal, long amount); in addTo()
284 long between(Temporal temporal1Inclusive, Temporal temporal2Exclusive); in between()
DTemporalAdjuster.java150 Temporal adjustInto(Temporal temporal); in adjustInto()
DIsoFields.java336 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto()
406 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto()
461 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto()
535 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto()
684 public boolean isSupportedBy(Temporal temporal) { in isSupportedBy()
690 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo()
705 public long between(Temporal temporal1Inclusive, Temporal temporal2Exclusive) { in between()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriod.java66 import java.time.temporal.Temporal;
302 Temporal addTo(Temporal temporal); in addTo()
329 Temporal subtractFrom(Temporal temporal); in subtractFrom()
DChronoLocalDate.java75 import java.time.temporal.Temporal;
241 extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDate> {
425 return ChronoLocalDateImpl.ensureValid(getChronology(), Temporal.super.with(adjuster)); in with()
449 return ChronoLocalDateImpl.ensureValid(getChronology(), Temporal.super.plus(amount)); in plus()
472 return ChronoLocalDateImpl.ensureValid(getChronology(), Temporal.super.minus(amount)); in minus()
483 …return ChronoLocalDateImpl.ensureValid(getChronology(), Temporal.super.minus(amountToSubtract, uni… in minus()
547 default Temporal adjustInto(Temporal temporal) { in adjustInto()
598 long until(Temporal endExclusive, TemporalUnit unit); in until()
DChronoLocalDateTime.java78 import java.time.temporal.Temporal;
121 extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDateTime<?>> {
266 return ChronoLocalDateTimeImpl.ensureValid(getChronology(), Temporal.super.with(adjuster)); in with()
284 return ChronoLocalDateTimeImpl.ensureValid(getChronology(), Temporal.super.plus(amount)); in plus()
302 return ChronoLocalDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amount)); in minus()
312 …return ChronoLocalDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amountToSubtract,… in minus()
377 default Temporal adjustInto(Temporal temporal) { in adjustInto()
DChronoZonedDateTime.java78 import java.time.temporal.Temporal;
122 extends Temporal, Comparable<ChronoZonedDateTime<?>> {
200 return Temporal.super.get(field); in get()
413 return ChronoZonedDateTimeImpl.ensureValid(getChronology(), Temporal.super.with(adjuster)); in with()
431 return ChronoZonedDateTimeImpl.ensureValid(getChronology(), Temporal.super.plus(amount)); in plus()
449 return ChronoZonedDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amount)); in minus()
459 …return ChronoZonedDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amountToSubtract,… in minus()
DEra.java72 import java.time.temporal.Temporal;
300 default Temporal adjustInto(Temporal temporal) { in adjustInto()
DChronoPeriodImpl.java73 import java.time.temporal.Temporal;
258 public Temporal addTo(Temporal temporal) { in addTo()
284 public Temporal subtractFrom(Temporal temporal) { in subtractFrom()
DChronoLocalDateImpl.java68 import java.time.temporal.Temporal;
144 implements ChronoLocalDate, Temporal, TemporalAdjuster, Serializable {
160 static <D extends ChronoLocalDate> D ensureValid(Chronology chrono, Temporal temporal) { in ensureValid()
376 public long until(Temporal endExclusive, TemporalUnit unit) { in until()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java79 import java.time.temporal.Temporal;
339 private Temporal datetime;
341 FixedAdjuster(Temporal datetime) { in FixedAdjuster()
346 public Temporal adjustInto(Temporal ignore) { in adjustInto()
351 public Temporal addTo(Temporal ignore) { in addTo()
356 public Temporal subtractFrom(Temporal ignore) { in subtractFrom()
376 private Temporal temporal;
378 FixedTemporalUnit(Temporal temporal) { in FixedTemporalUnit()
403 public boolean isSupportedBy(Temporal temporal) { in isSupportedBy()
409 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo()
[all …]
DTCKChronoLocalDateTime.java80 import java.time.temporal.Temporal;
359 private Temporal datetime;
361 FixedAdjuster(Temporal datetime) { in FixedAdjuster()
366 public Temporal adjustInto(Temporal ignore) { in adjustInto()
371 public Temporal addTo(Temporal ignore) { in addTo()
376 public Temporal subtractFrom(Temporal ignore) { in subtractFrom()
397 private Temporal temporal;
399 FixedTemporalUnit(Temporal temporal) { in FixedTemporalUnit()
424 public boolean isSupportedBy(Temporal temporal) { in isSupportedBy()
430 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/
DMockSimplePeriod.java67 import java.time.temporal.Temporal;
141 public Temporal addTo(Temporal temporal) { in addTo()
146 public Temporal subtractFrom(Temporal temporal) { in subtractFrom()
/libcore/luni/src/test/java/libcore/java/time/
DDurationTest.java29 import java.time.temporal.Temporal;
88 Temporal temporal = (Temporal) values[0]; in test_addTo_exceeds()
116 Temporal temporal = (Temporal) values[0]; in test_subtractFrom_exceeds()
131 Temporal[] unsupportedTemporals = new Temporal[] { in test_addTo_subtractFrom_unsupported()
140 for (Temporal temporal : unsupportedTemporals) { in test_addTo_subtractFrom_unsupported()
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DMockFieldNoValue.java66 import java.time.temporal.Temporal;
121 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java141 java.time.temporal.Temporal startInclusive, java.time.temporal.Temporal endExclusive) { in between()
274 public java.time.temporal.Temporal addTo(java.time.temporal.Temporal temporal) { in addTo()
278 public java.time.temporal.Temporal subtractFrom(java.time.temporal.Temporal temporal) { in subtractFrom()
/libcore/ojluni/src/main/java/java/time/
DDayOfWeek.java70 import java.time.temporal.Temporal;
453 public Temporal adjustInto(Temporal temporal) { in adjustInto()
DYear.java87 import java.time.temporal.Temporal;
130 implements Temporal, TemporalAdjuster, Comparable<Year>, Serializable {
432 return Temporal.super.range(field); in range()
822 return Temporal.super.query(query); in query()
852 public Temporal adjustInto(Temporal temporal) { in adjustInto()
907 public long until(Temporal endExclusive, TemporalUnit unit) { in until()
DYearMonth.java90 import java.time.temporal.Temporal;
126 implements Temporal, TemporalAdjuster, Comparable<YearMonth>, Serializable {
420 return Temporal.super.range(field); in range()
954 return Temporal.super.query(query); in query()
984 public Temporal adjustInto(Temporal temporal) { in adjustInto()
1039 public long until(Temporal endExclusive, TemporalUnit unit) { in until()
DMonth.java72 import java.time.temporal.Temporal;
608 public Temporal adjustInto(Temporal temporal) { in adjustInto()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKPeriod.java74 import java.time.temporal.Temporal;
183 public Temporal addTo(Temporal temporal) { in factory_from_TemporalAmount_YearsDays()
187 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_YearsDays()
206 public Temporal addTo(Temporal temporal) { in factory_from_TemporalAmount_Years_tooBig()
210 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_Years_tooBig()
236 public Temporal addTo(Temporal temporal) { in factory_from_TemporalAmount_DaysHours()
240 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_DaysHours()
662 public Temporal addTo(Temporal temporal) { in test_plus_TemporalAmount_DaysHours()
666 public Temporal subtractFrom(Temporal temporal) { in test_plus_TemporalAmount_DaysHours()
807 public Temporal addTo(Temporal temporal) { in test_minus_TemporalAmount_DaysHours()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoUnit.java83 import java.time.temporal.Temporal;
169 …ic void test_unitAndTemporal(ChronoUnit unit, Temporal base, boolean isSupportedBy, long amount, in test_unitAndTemporal()
172 Temporal result = unit.addTo(base, amount); in test_unitAndTemporal()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKFormatStyle.java66 import java.time.temporal.Temporal;
110 public void test_formatStyle(Temporal temporal, FormatStyle style, String formattedStr) { in test_formatStyle()

123