What matters for the financial hedge is the existence of futures, which means the companies can buy something they know they will need at a known price months before they actually need it. The specifics of this operation differs depending on the actual financial instrument used, but the idea is the same, even on the opposite side (selling at a known price in the future).