The dollar maintained gains after Janet Yellen said the American economy is strong enough to warrant higher interest rates. Japanese stocks climbed the most in two weeks while the yen fluctuated, and oil resumed gains after the biggest drop in more than a week.