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

days

new days value

months

new months value

years

new years value

fun copy(years: IntYears, months: IntMonths, days: IntDays): Period