Home
last modified time | relevance | path

Searched refs:isTimeBased (Results 1 – 25 of 26) sorted by relevance

12

/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalUnit.java153 boolean isTimeBased(); in isTimeBased() method
170 return isTimeBased(); in isSupportedBy()
DTemporalField.java175 boolean isTimeBased(); in isTimeBased() method
DChronoUnit.java253 public boolean isTimeBased() { in isTimeBased() method in ChronoUnit
DJulianFields.java252 public boolean isTimeBased() { in isTimeBased() method in JulianFields.Field
DIsoFields.java563 public boolean isTimeBased() { in isTimeBased() method in IsoFields.Field
679 public boolean isTimeBased() { in isTimeBased() method in IsoFields.Unit
DChronoField.java710 public boolean isTimeBased() { in isTimeBased() method in ChronoField
DWeekFields.java1061 public boolean isTimeBased() { in isTimeBased() method in WeekFields.ComputedDayOfField
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java242 return f.isDateBased() || f.isTimeBased(); in isSupported()
251 return (f.isTimeBased() ? time.range(field) : date.range(field)); in range()
260 return (f.isTimeBased() ? time.get(field) : date.get(field)); in get()
269 return (f.isTimeBased() ? time.getLong(field) : date.getLong(field)); in getLong()
293 if (f.isTimeBased()) { in with()
376 if (unit.isTimeBased()) { in until()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKJulianFields.java117 assertEquals(JulianFields.JULIAN_DAY.isTimeBased(), false); in test_basics()
120 assertEquals(JulianFields.MODIFIED_JULIAN_DAY.isTimeBased(), false); in test_basics()
123 assertEquals(JulianFields.RATA_DIE.isTimeBased(), false); in test_basics()
DTCKChronoUnit.java123 …public void test_unitType(ChronoUnit unit, boolean isDateBased, boolean isTimeBased, boolean isDur… in test_unitType() argument
125 assertEquals(unit.isTimeBased(), isTimeBased); in test_unitType() local
DTCKChronoField.java190 public void test_isDateBased(ChronoField field, boolean isDateBased, boolean isTimeBased) { in test_isDateBased() argument
192 assertEquals(field.isTimeBased(), isTimeBased); in test_isDateBased() local
DTCKIsoFields.java131 assertEquals(IsoFields.DAY_OF_QUARTER.isTimeBased(), false); in test_DOQ_basics()
145 assertEquals(IsoFields.QUARTER_OF_YEAR.isTimeBased(), false); in test_QOY_basics()
329 assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.isTimeBased(), false); in test_WOWBY_basics()
344 assertEquals(IsoFields.WEEK_BASED_YEAR.isTimeBased(), false); in test_WBY_basics()
DTCKWeekFields.java107 assertEquals(week.dayOfWeek().isTimeBased(), false); in test_basics()
110 assertEquals(week.weekOfMonth().isTimeBased(), false); in test_basics()
113 assertEquals(week.weekOfYear().isTimeBased(), false); in test_basics()
116 assertEquals(week.weekOfWeekBasedYear().isTimeBased(), false); in test_basics()
119 assertEquals(week.weekBasedYear().isTimeBased(), false); in test_basics()
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DMockFieldNoValue.java100 public boolean isTimeBased() { in isTimeBased() method in MockFieldNoValue
DTestIsoWeekFields.java65 assertEquals(weekField.isTimeBased(), false); in test_WOWBY_basics()
106 assertEquals(yearField.isTimeBased(), false); in test_WBY_basics()
/libcore/ojluni/src/main/java/java/time/
DLocalDateTime.java571 return f.isDateBased() || f.isTimeBased(); in isSupported()
645 return (f.isTimeBased() ? time.range(field) : date.range(field)); in range()
682 return (f.isTimeBased() ? time.get(field) : date.get(field)); in get()
714 return (f.isTimeBased() ? time.getLong(field) : date.getLong(field)); in getLong()
961 if (f.isTimeBased()) { in with()
1679 if (unit.isTimeBased()) { in until()
DOffsetTime.java391 return field.isTimeBased() || field == OFFSET_SECONDS; in isSupported()
427 return unit.isTimeBased(); in isSupported()
DLocalTime.java513 return field.isTimeBased(); in isSupported()
549 return unit.isTimeBased(); in isSupported()
DInstant.java490 return unit.isTimeBased() || unit == DAYS; in isSupported()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java398 public boolean isTimeBased() { in isTimeBased() method in TCKChronoLocalDate.FixedTemporalUnit
455 public boolean isTimeBased() { in isTimeBased() method in TCKChronoLocalDate.FixedTemporalField
DTCKChronoLocalDateTime.java419 public boolean isTimeBased() { in isTimeBased() method in TCKChronoLocalDateTime.FixedTemporalUnit
476 public boolean isTimeBased() { in isTimeBased() method in TCKChronoLocalDateTime.FixedTemporalField
DTCKChronoZonedDateTime.java420 public boolean isTimeBased() { in isTimeBased() method in TCKChronoZonedDateTime.FixedTemporalUnit
478 public boolean isTimeBased() { in isTimeBased() method in TCKChronoZonedDateTime.FixedTemporalField
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java529 if (field instanceof ChronoField && field.isTimeBased()) { in resolveTimeLenient()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java1075 public boolean isTimeBased() { in test_with_longTemporalField_notChronoField()
1291 public boolean isTimeBased() {
1326 public boolean isTimeBased() {
DTCKInstant.java572 public boolean isTimeBased() {
607 public boolean isTimeBased() {

12