Lines Matching refs:steps
1281 * This method adds the specified amount to the years field in three steps:
1309 * This method adds the specified amount to the months field in three steps:
1455 * This method subtracts the specified amount from the years field in three steps:
1479 * This method subtracts the specified amount from the months field in three steps:
1779 long steps = (until - sign) / days; // non-negative
1780 return LongStream.rangeClosed(0, steps).mapToObj(
1784 long steps = until * 1600 / (months * 48699 + days * 1600) + 1;
1785 long addMonths = months * steps;
1786 long addDays = days * steps;
1789 // adjust steps estimation
1792 steps--;
1797 steps--;
1800 return LongStream.rangeClosed(0, steps).mapToObj(