//core/io.islandtime.measures/Period/copy
copy¶
common
fun copy(years: Years = this.years, months: Months = this.months, days: Days = this.days): Period
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¶
common
years | new years value |
months | new months value |
days | new days value |