toBuilder method
Creates a PeriodBuilder from this instance. The new builder is populated with the values from this period, but is then detached from it: changes made to the builder are not reflected in this period.
Returns: A builder with the same values and units as this period.
Implementation
PeriodBuilder toBuilder() => PeriodBuilder(this);