Mikkey-f opened a new pull request, #1033: URL: https://github.com/apache/fesod/pull/1033
### What and why Adds a `java.time.OffsetDateTime` converter family for the OffsetDateTime slice of #1017, following the existing `LocalDateTime` / `ZonedDateTime` pattern, so OffsetDateTime fields map to Excel natively instead of falling back to `String`: - **`OffsetDateTimeDateConverter`** — write-only, emits an Excel `DATE` cell via `toLocalDateTime()`, default format `yyyy-MM-dd HH:mm:ss` - **`OffsetDateTimeNumberConverter`** — bidirectional `NUMBER` serial, respects `use1904windowing` (property-level first, then a null-safe global default); on read attaches `ZoneId.systemDefault()` to the parsed `LocalDateTime` - **`OffsetDateTimeStringConverter`** — bidirectional `STRING`, honors `@DateTimeFormat` and the configured `Locale`, defaults to `ISO_OFFSET_DATE_TIME` when no format is set Registered in `DefaultConverterLoader.initAllConverter()` / `initDefaultWriteConverter()`. ### Tests `OffsetDateTimeConverterTest` covers converter keys, DATE/NUMBER/STRING read & write, `@DateTimeFormat` formatting, `use1904windowing` (including the null-safe global default) and round-trip behavior. All tests pass, `spotless:check` is green, and the full local build was verified. --- Closes #1017 (OffsetDateTime slice). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
