/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 72 assertEquals(weekField.isSupportedBy(LocalTime.NOON), false); in test_WOWBY_isSupportedBy() 73 assertEquals(weekField.isSupportedBy(MonthDay.of(2, 1)), false); in test_WOWBY_isSupportedBy() 74 assertEquals(weekField.isSupportedBy(LocalDate.MIN), true); in test_WOWBY_isSupportedBy() 75 assertEquals(weekField.isSupportedBy(OffsetDateTime.MAX), true); in test_WOWBY_isSupportedBy() 80 … assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.isSupportedBy(ThaiBuddhistDate.now()), false); in test_WOWBY_isSupportedBy_fieldsDiffer() 81 … assertEquals(WeekFields.ISO.weekOfWeekBasedYear().isSupportedBy(ThaiBuddhistDate.now()), true); in test_WOWBY_isSupportedBy_fieldsDiffer() 113 assertEquals(yearField.isSupportedBy(LocalTime.NOON), false); in test_WBY_isSupportedBy() 114 assertEquals(yearField.isSupportedBy(MonthDay.of(2, 1)), false); in test_WBY_isSupportedBy() 115 assertEquals(yearField.isSupportedBy(LocalDate.MIN), true); in test_WBY_isSupportedBy() 116 assertEquals(yearField.isSupportedBy(OffsetDateTime.MAX), true); in test_WBY_isSupportedBy() [all …]
|
D | MockFieldNoValue.java | 106 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in MockFieldNoValue
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 304 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method 310 if (isSupportedBy(temporal) == false) { in rangeRefinedBy() 326 if (isSupportedBy(temporal) == false) { in getFrom() 393 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method 398 if (isSupportedBy(temporal) == false) { in getFrom() 442 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method 447 if (isSupportedBy(temporal) == false) { in rangeRefinedBy() 454 if (isSupportedBy(temporal) == false) { in getFrom() 523 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method 528 if (isSupportedBy(temporal) == false) { in getFrom() [all …]
|
D | JulianFields.java | 263 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in JulianFields.Field 269 if (isSupportedBy(temporal) == false) { in rangeRefinedBy()
|
D | TemporalUnit.java | 168 default boolean isSupportedBy(Temporal temporal) { in isSupportedBy() method
|
D | TemporalField.java | 201 boolean isSupportedBy(TemporalAccessor temporal); in isSupportedBy() method
|
D | ChronoUnit.java | 259 public boolean isSupportedBy(Temporal temporal) { in isSupportedBy() method in ChronoUnit
|
D | ChronoField.java | 754 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in ChronoField
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 169 …public void test_unitAndTemporal(ChronoUnit unit, Temporal base, boolean isSupportedBy, long amoun… in test_unitAndTemporal() argument 170 assertEquals(unit.isSupportedBy(base), isSupportedBy); in test_unitAndTemporal() local 171 if (isSupportedBy) { in test_unitAndTemporal()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 387 return field != null && field.isSupportedBy(this); in isSupported() 413 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | Era.java | 149 return field != null && field.isSupportedBy(this); in isSupported()
|
D | ChronoLocalDateTime.java | 254 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | ChronoZonedDateTime.java | 401 return unit != null && unit.isSupportedBy(this); in isSupported()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronoZonedDateTimeTest.java | 58 verify(temporalUnit).isSupportedBy(chronoZonedDateTime); in isSupported_defersToArgument()
|
D | EraTest.java | 109 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in EraTest.TestTemporalField
|
/libcore/ojluni/src/main/java/java/time/ |
D | DayOfWeek.java | 255 return field != null && field.isSupportedBy(this); in isSupported()
|
D | Year.java | 366 return field != null && field.isSupportedBy(this); in isSupported() 400 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | Month.java | 282 return field != null && field.isSupportedBy(this); in isSupported()
|
D | YearMonth.java | 353 return field != null && field.isSupportedBy(this); in isSupported() 388 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | Instant.java | 455 return field != null && field.isSupportedBy(this); in isSupported() 492 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | OffsetTime.java | 393 return field != null && field.isSupportedBy(this); in isSupported() 429 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | OffsetDateTime.java | 479 return field instanceof ChronoField || (field != null && field.isSupportedBy(this)); in isSupported() 523 return unit != null && unit.isSupportedBy(this); in isSupported()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoLocalDate.java | 403 public boolean isSupportedBy(Temporal temporal) { in isSupportedBy() method in TCKChronoLocalDate.FixedTemporalUnit 460 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in TCKChronoLocalDate.FixedTemporalField
|
D | TCKChronoLocalDateTime.java | 424 public boolean isSupportedBy(Temporal temporal) { in isSupportedBy() method in TCKChronoLocalDateTime.FixedTemporalUnit 481 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in TCKChronoLocalDateTime.FixedTemporalField
|
D | TCKChronoZonedDateTime.java | 425 public boolean isSupportedBy(Temporal temporal) { in isSupportedBy() method in TCKChronoZonedDateTime.FixedTemporalUnit 483 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in TCKChronoZonedDateTime.FixedTemporalField
|