What is the output of the code below?
Instant instant = Instant.EPOCH;
instant.minus(Period.ofDays(1));
System.out.println(instant.minus(Duration.ofDays(1)).atZone(ZoneId.of("GMT+6")));What is the output of the code below?
Instant instant = Instant.EPOCH;
instant.minus(Period.ofDays(1));
System.out.println(instant.minus(Duration.ofDays(1)).atZone(ZoneId.of("GMT+6")));Create a free account to access the full topic