Deduplicate code in TZInfo::TimezonePeriod