JAVA | How to find date and time coming in between two given date and time that increment by 5 minutes?
For example, if the starting point is [29/1/2017 5:40:00 AM]
And the stopping point is [29/1/2017 6:00:00 AM]
The list (based on starting and stopping points ) and it is must be like this
29/1/2017 5:40:00 AM
29/1/2017 5:45:00 AM
29/1/2017 5:50:00 AM
29/1/2017 5:55:00 AM
29/1/2017 6:00:00 AM
Please don’t use JODA.