-Fixed getDayOfWeek private method