Ants on a wire _______

Lets say we have 10 ants on a 1 meter thin wire between two rocks. Ants cannot pass each other on the wire so when two ants meet they both turn around in the opposite direction. When ants reach the end of the wire they are gone (into the woods). The ants walk with a velocity of 1 m/s.

What is the maximum time before all ants are off the the wire? Where are the ants located initially for this configuration?

Answer and explanation will follow ...