DAVAO CITY, Philippines — Residents who are 18 or younger are not allowed on the street without an adult between 10 p.m. and 5 a.m. Liquor cannot be sold after 1 a.m. Smoking is banned throughout the city, except in a few designated areas.

A party town? Maybe not, but many people who live here in Davao City, where President-elect Rodrigo Duterte has been the mayor for most of the past two decades, say that’s not the point.

They believe that Mr. Duterte, who will begin his term on June 30, has brought safety and calm to a city that is surrounded by areas where violence is rife.

At Magsaysay Park along the waterfront, children roller-skate at an outdoor rink near stands where brightly colored pomelo, mangosteen and other tropical fruits are sold. Young couples sit on shaded benches, giggling and holding hands.