Returns a new Period, replacing the years, months, and days components with new values, as desired
a new Period with the supplied values
new days value
new months value
new years value