Instead of starting with
new Date()
start with
new Date(System.currentTimeMillis() + TimeUnit.MINUTES.toMillis(5))
This will give you a Date
instance that represents your required point in time. You don’t need to change any other part of your code.