[HD-OCP17/21-Fundamentals Pg 0, Sec. 22.4.0 - translating-date-time-objects-into-different-types-and-different-time-zone

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
dtruebin
Posts: 12
Joined: Wed Jun 18, 2025 4:39 am
Contact:

[HD-OCP17/21-Fundamentals Pg 0, Sec. 22.4.0 - translating-date-time-objects-into-different-types-and-different-time-zone

Post by dtruebin »

For example, a ZonedDateTime of 2024-12-01T06:00-05:00[America/New_York] will translate to an Instant representing 2024-12-01T011:00Z (because 6 - -5 = 11).
Nitpicking, but the string representation of the Instant would not have a zero between "T" and "11".

admin
Site Admin
Posts: 10419
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: [HD-OCP17/21-Fundamentals Pg 0, Sec. 22.4.0 - translating-date-time-objects-into-different-types-and-different-time-

Post by admin »

Right. Fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: Google Adsense [Bot] and 19 guests