getZoneInterval method
Returns the ZoneInterval containing this value, in the time zone this value refers to.
This is simply a convenience method - it is logically equivalent to converting this value to an Instant and then asking the appropriate DateTimeZone for the ZoneInterval containing that instant.
Returns: The ZoneInterval containing this value.
Implementation
ZoneInterval getZoneInterval() => zone.getZoneInterval(toInstant());