Top "Zoneddatetime" questions

`ZonedDateTime` is a standard Java class representing a “date-time with a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00 Europe/Paris.

Java 8 DateTimeFormatter: confusion with 'z' and 'Z ' pattern letters

I have the date string "2015-01-12T13:00:00.000+02:00". Looking at the JavaDoc I see the following: z time-zone name zone-name …

java datetime-format zoneddatetime
ZonedDateTime comparison: expected: [Etc/UTC] but was: [UTC]

I was comparing two dates which seem to be equal, but they contain a different name of zones: one is …

java date datetime zoneddatetime datetime-comparison
How to construct ZonedDateTime from an Instant and a time string?

Given an object of Instant, a time string representing the time at a specific ZoneId, How to construct a ZonedDateTime …

java java-8 java-time zoneddatetime