Asymptotic Solutions of Hamilton–Jacobi Equations with Semi-Periodic Hamiltonians