withOffset method

TomlOffsetDateTime withOffset(
  1. TomlTimeZoneOffset offset
)

Interprets this local date-time as an offset date-time in the given time-zone.

Implementation

TomlOffsetDateTime withOffset(TomlTimeZoneOffset offset) =>
    TomlOffsetDateTime(date, time, offset);