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