class TZInfo::TimestampWithOffset

A subclass of {Timestamp} used to represent local times. {TimestampWithOffset} holds a reference to the related {TimezoneOffset} and overrides various methods to return results appropriate for the {TimezoneOffset}. Certain operations will clear the associated {TimezoneOffset} (if the {TimezoneOffset} would not necessarily be valid for the result). Once the {TimezoneOffset} has been cleared, {TimestampWithOffset} behaves identically to {Timestamp}.