/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 74 assertEquals(weekField.isSupportedBy(LocalTime.NOON), false); in test_WOWBY_isSupportedBy() 75 assertEquals(weekField.isSupportedBy(MonthDay.of(2, 1)), false); in test_WOWBY_isSupportedBy() 76 assertEquals(weekField.isSupportedBy(LocalDate.MIN), true); in test_WOWBY_isSupportedBy() 77 assertEquals(weekField.isSupportedBy(OffsetDateTime.MAX), true); in test_WOWBY_isSupportedBy() 82 … assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.isSupportedBy(ThaiBuddhistDate.now()), false); in test_WOWBY_isSupportedBy_fieldsDiffer() 83 … assertEquals(WeekFields.ISO.weekOfWeekBasedYear().isSupportedBy(ThaiBuddhistDate.now()), true); in test_WOWBY_isSupportedBy_fieldsDiffer() 115 assertEquals(yearField.isSupportedBy(LocalTime.NOON), false); in test_WBY_isSupportedBy() 116 assertEquals(yearField.isSupportedBy(MonthDay.of(2, 1)), false); in test_WBY_isSupportedBy() 117 assertEquals(yearField.isSupportedBy(LocalDate.MIN), true); in test_WBY_isSupportedBy() 118 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 | 311 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method 317 if (isSupportedBy(temporal) == false) { in rangeRefinedBy() 333 if (isSupportedBy(temporal) == false) { in getFrom() 400 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method 405 if (isSupportedBy(temporal) == false) { in getFrom() 412 if (isSupportedBy(temporal) == false) { in rangeRefinedBy() 464 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method 469 if (isSupportedBy(temporal) == false) { in rangeRefinedBy() 476 if (isSupportedBy(temporal) == false) { in getFrom() 545 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method [all …]
|
D | JulianFields.java | 267 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in JulianFields.Field 273 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 | 787 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 | 390 return field != null && field.isSupportedBy(this); in isSupported() 416 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | Era.java | 149 return field != null && field.isSupportedBy(this); in isSupported()
|
D | ChronoLocalDateTime.java | 261 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | ChronoZonedDateTime.java | 408 return unit != null && unit.isSupportedBy(this); in isSupported()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | EraTest.java | 109 public boolean isSupportedBy(TemporalAccessor temporal) { in isSupportedBy() method in EraTest.TestTemporalField
|
D | ChronoZonedDateTimeTest.java | 67 verify(temporalUnit).isSupportedBy(chronoZonedDateTime); in isSupported_defersToArgument()
|
/libcore/ojluni/src/main/java/java/time/ |
D | DayOfWeek.java | 255 return field != null && field.isSupportedBy(this); in isSupported()
|
D | Year.java | 367 return field != null && field.isSupportedBy(this); in isSupported() 401 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | Month.java | 282 return field != null && field.isSupportedBy(this); in isSupported()
|
D | YearMonth.java | 354 return field != null && field.isSupportedBy(this); in isSupported() 389 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | OffsetTime.java | 394 return field != null && field.isSupportedBy(this); in isSupported() 430 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | Instant.java | 456 return field != null && field.isSupportedBy(this); in isSupported() 493 return unit != null && unit.isSupportedBy(this); in isSupported()
|
D | MonthDay.java | 348 return field != null && field.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
|