chapter 17 it was after the battle of latroon , in the area of the biblical ayalon valley ( the moon was staying there while the sun was not moving for a whole day in givon : all happened in jushuas time ) .