I have a very weird behaviour on some Motorola devices where LocalDateTime.now() is returning 0000-00-00T00:00:00.0 with ThreeTenABP.
LocalDateTime.now()
0000-00-00T00:00:00.0
The code
Use the following instead
Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.MINUTE,10); Date date = calendar.getTime();