Commit ceefb2a
Replace SimpleDateFormat with java.time.Instant for timestamp parsing
Instant.parse() handles all ISO 8601 formats natively, avoids
deprecated SimpleDateFormat, and throws DateTimeParseException
with clear context on invalid input instead of returning null.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8c38b23 commit ceefb2a
1 file changed
+2
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
187 | 185 | | |
188 | 186 | | |
189 | 187 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 188 | + | |
200 | 189 | | |
0 commit comments