As a private citizen, Donald J. Trump was repeatedly critical of President Obama’s fondness for relaxing with a round of golf.

“Can you believe that, with all of the problems and difficulties facing the U.S., President Obama spent the day playing golf.” Mr. Trump tweeted on Oct. 13, 2014. “Worse than Carter.”

“We pay for Obama’s travel so he can fundraise millions so Democrats can run on lies,” he said a day later. “Then we pay for his golf.”