In my opinion, it's not a great sentence. They should be more specific. If we're talking about time, obviously they can swim for one hour in an hour. It would make more sense to talk about distance:
I can swim pretty far in an hour.
But if it's a character speaking, there may be a reason that the author doesn't want the sentence to be 'perfect'.