Searched refs:numberOfDays (Results 1 – 3 of 3) sorted by relevance
67 public static void increaseDeviceTimeByDays(ITestDevice device, int numberOfDays) in increaseDeviceTimeByDays() argument71 device.setDate(Date.from(deviceDate.plus(numberOfDays, ChronoUnit.DAYS))); in increaseDeviceTimeByDays()74 + deviceDate.plus(numberOfDays, ChronoUnit.DAYS).toEpochMilli() in increaseDeviceTimeByDays()
351 private void increaseDeviceTimeByDays(int numberOfDays) throws Exception { in increaseDeviceTimeByDays() argument356 getDevice().setDate(Date.from(deviceDate.plus(numberOfDays, ChronoUnit.DAYS))); in increaseDeviceTimeByDays()360 + deviceDate.plus(numberOfDays, ChronoUnit.DAYS).toEpochMilli() in increaseDeviceTimeByDays()
336 private long subtractDaysFromInstantNow(int numberOfDays) { in subtractDaysFromInstantNow() argument337 return Instant.now().minus(numberOfDays, ChronoUnit.DAYS).toEpochMilli(); in subtractDaysFromInstantNow()