in JAVA by
Q:
Why was the previous date and time flawed?

1 Answer

0 votes
by

The disadvantages of the previous date and time are outlined below:

Java.util.

  • The new Java 8 Date and Time API is thread-safe, whereas Date is changeable and not thread-safe.
  • While the previous date and time are badly conceived, Java 8's Date and Time API complies with ISO standards.
  • It has added a number of date-related API classes, like LocalDate, LocalTime, LocalDateTime, etc.
  • When comparing the two in terms of performance, Java 8 performs better than the previous date and time system.

Related questions

0 votes
asked Feb 27 in JAVA by Robindeniel
0 votes
asked Jun 16, 2021 in QlikView by Robindeniel
0 votes
asked Sep 19, 2022 in Time Series Analysis by Robin
0 votes
asked Apr 21, 2021 in Agile by rajeshsharma
...