Hey I want to return a list of time object of 24 hours of time frame. It means i need a logic to get hours in a list starting from 00.00 to 23.00. Inside the list [00.00,01.00,02.00,.....23.00] . If i search a particular index like
println(timeList[3])
it will return
03.00.
How to i achieve this logic throught Calendar object or any other class. Does any one have idea about this how to get this type of list.