Converts a date-time carrying an offset from UTC to OffsetDateTime
All 3 scenarios hold
The expectation column is itself converted, to an Instant.
expected outcome
broken scenario
| Scenario | Input value | Parameter type? | OffsetDateTime as instant in UTC? |
|---|---|---|---|
| East of UTC | 2017-03-14T13:00:00+01:00 | java.time.OffsetDateTime | 2017-03-14T12:00:00Z |
| At UTC | 2025-12-25T00:00:00Z | java.time.OffsetDateTime | 2025-12-25T00:00:00Z |
| West of UTC | 2000-06-15T18:30:45-07:00 | java.time.OffsetDateTime | 2000-06-16T01:30:45Z |