Home
last modified time | relevance | path

Searched refs:baseUnit (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/time/temporal/
DJulianFields.java222 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()
DChronoField.java593 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()
DWeekFields.java741 private final TemporalUnit baseUnit; field in WeekFields.ComputedDayOfField
745 …private ComputedDayOfField(String name, WeekFields weekDef, TemporalUnit baseUnit, TemporalUnit ra… in ComputedDayOfField() argument
748 this.baseUnit = baseUnit; in ComputedDayOfField()
910 return (R) temporal.plus(newVal - currentVal, baseUnit); in adjustInto()
1047 return baseUnit; in getBaseUnit()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoField.java146 public void test_getBaseUnit(ChronoField field, ChronoUnit baseUnit, ChronoUnit rangeUnit) { in test_getBaseUnit() argument
147 assertEquals(field.getBaseUnit(), baseUnit); in test_getBaseUnit() local