Weighted Hazard Ratio Estimation for Delayed and Diminishing Treatment Effect