TimeZoneTransition.withTimeZonePeriod constructor

TimeZoneTransition.withTimeZonePeriod(
  1. TimeZoneDefinition timeZoneDefinition,
  2. TimeZonePeriod targetPeriod
)
Initializes a new instance of the The time zone definition the transition will belong to. The period the transition will target.

Implementation

TimeZoneTransition.withTimeZonePeriod(
    TimeZoneDefinition timeZoneDefinition, TimeZonePeriod targetPeriod) {
  this.timeZoneDefinition = timeZoneDefinition;
  this.targetPeriod = targetPeriod;
}