Searched refs:baseUnit (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | JulianFields.java | 222 private final transient TemporalUnit baseUnit; field in JulianFields.Field 227 private Field(String name, TemporalUnit baseUnit, TemporalUnit rangeUnit, long offset) { in Field() argument 229 this.baseUnit = baseUnit; in Field() 238 return baseUnit; in getBaseUnit()
|
D | ChronoField.java | 593 private final TemporalUnit baseUnit; field in ChronoField 598 …private ChronoField(String name, TemporalUnit baseUnit, TemporalUnit rangeUnit, ValueRange range) { in ChronoField() argument 600 this.baseUnit = baseUnit; in ChronoField() 606 private ChronoField(String name, TemporalUnit baseUnit, TemporalUnit rangeUnit, in ChronoField() argument 609 this.baseUnit = baseUnit; in ChronoField() 659 return baseUnit; in getBaseUnit()
|
D | WeekFields.java | 740 private final TemporalUnit baseUnit; field in WeekFields.ComputedDayOfField 744 …private ComputedDayOfField(String name, WeekFields weekDef, TemporalUnit baseUnit, TemporalUnit ra… in ComputedDayOfField() argument 747 this.baseUnit = baseUnit; in ComputedDayOfField() 909 return (R) temporal.plus(newVal - currentVal, baseUnit); in adjustInto() 1046 return baseUnit; in getBaseUnit()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 146 public void test_getBaseUnit(ChronoField field, ChronoUnit baseUnit, ChronoUnit rangeUnit) { in test_getBaseUnit() argument 147 assertEquals(field.getBaseUnit(), baseUnit); in test_getBaseUnit() local
|