inTimezone method

TimezoneRange inTimezone(
  1. HoraTimezone tz
)

Converts this range to another timezone view while preserving instants.

Implementation

TimezoneRange inTimezone(HoraTimezone tz) => TimezoneRange(
      start: start.withTimezone(tz),
      end: end.withTimezone(tz),
      timezone: tz,
    );