Searched refs:getUnit (Results 1 – 2 of 2) sorted by relevance
135 public TemporalUnit getUnit() { in getUnit() method in MockSimplePeriod153 if (unit.equals(otherPeriod.getUnit()) == false) { in compareTo()154 …ew IllegalArgumentException("Units cannot be compared: " + unit + " and " + otherPeriod.getUnit()); in compareTo()