use native map and forEach if available
add time.ofDay12Hour/24Hour