List of utility methods to do Random Time
String | getRandomTimeOfDay() get Random Time Of Day long time = System.currentTimeMillis(); int hrs = getRandomNumberBelow(4) * 6; int mins = getRandomNumberBelow(4) * 15; return _TIME_FMT.format(new Date(time + hrs * 3600000 + mins * 60000)); |