add getTimeSlot() to TimeBar