range property

Interval<Offset> range
final

The valid range of Offsets, from -18:00 to +18:00, inclusive.

As of February 2023, actual offsets range from -12:00 to +14:00, inclusive. The range was last extended in 1995 when the island of Kiribati moved its timezone eastward by one day, leading to the creation of +14:00. To ensure forward compatibility, the range is restricted to -18:00 to +18:00, inclusive.

Implementation

static final Interval<Offset> range = Interval.closed(const LiteralOffset('-18:00', -64800), const LiteralOffset('+18:00', 64800));