Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Ask a Question
Why was the previous date and time flawed?
Home
JAVA
Why was the previous date and time flawed?
asked
Mar 1
in
JAVA
by
sharadyadav1986
Q:
Why was the previous date and time flawed?
previous-date-time
java9
1
Answer
0
votes
answered
Mar 1
by
sharadyadav1986
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
Q: Why was there a gap in your employment between [insert date] and [insert date]?
asked
May 17, 2019
in
Interview Question
by
pratikdikshit
#interview
#interviewquestions
#interviewquestionandanswer
#theinterview
#interviewer
#interviewpreparation
#interviewanswer
#interviewquestion
+1
vote
Q: Which class can be used instead of System.getCurrentTimeMillis() to get the date and time in Java 8?
asked
Feb 8, 2020
in
JAVA
by
rahuljain1
#java-date
#java-time
Java-questions-answers
+2
votes
Q: Which class can be used instead of System.getCurrentTimeMillis() to get the date and time in Java 8?
asked
Feb 8, 2020
in
JAVA
by
rahuljain1
#java-time-function
Java-questions-answers
0
votes
Q: Which package contains Date/Time (JSR 310) API in Java 8?
asked
Feb 8, 2020
in
JAVA
by
rahuljain1
#jdk-package
Java-questions-answers
0
votes
Q: Is the following code flawed in any way? Does it compile or does it produce a specific error?
asked
Feb 27
in
JAVA
by
Robindeniel
javacode
0
votes
Q: What was your biggest challenge with your previous boss?
asked
Oct 25, 2019
in
Interview Question
by
AdilsonLima
#interviewquestionandanswer
#interviewquestions
#interview
+1
vote
Q: What suggestion/s have you made in your previous employment that was implemented?
asked
Oct 24, 2019
in
Interview Question
by
AdilsonLima
#interview
#interviewquestions
#interviewquestionandanswer
0
votes
Q: Which of the following command is used to combine both date and time?
asked
Apr 6, 2022
in
Python Packages and Data Access
by
sharadyadav1986
python-date-time
python-packages-list
python-sqlalchemy
python-data-access
python-string
python-file
python-directory
python-server
python-command
python-object
python-packages-download
python-packages-example
python-packages-install
0
votes
Q: What is SQLite date and time () function?
asked
Nov 13, 2021
in
SQLite
by
sharadyadav1986
sqlite-date
sqlite-time-function
0
votes
Q: Mention date and time functions
asked
Jun 16, 2021
in
QlikView
by
Robindeniel
qlikview-time-functions
qlikview-date-time
0
votes
Q: What is the class of sys.date() and sys.time()
asked
May 27, 2019
in
Other
by
tempuser
0
votes
Q: What was your biggest problem till date while working on a Github project?
asked
Mar 8, 2020
in
Git Slack Integration
by
Hodge
+1
vote
Q: Why does my AWS monthly bill for CloudWatch appear different between July 2017 and previous months?
asked
May 10, 2020
in
AWS
by
Robindeniel
#cloudwatch-monthly-bill
0
votes
Q: A car takes 6 hours to cover a distance of 540 Km. how much should the speed in Kmph be maintained to cover the same direction in 3/2th of the previous time?
asked
Oct 31, 2019
in
Other
by
MBarbieri
0
votes
Q: What function in Python helps in creating Date Time index for data that does not have date or time values captured?
asked
Sep 19, 2022
in
Time Series Analysis
by
Robin
time-series
time-analysis
0
votes
Q: __________ provides a snapshot of threats over time, encouraging the maintenance of up to date situational awareness.
asked
Feb 17, 2022
in
End Point Security
by
sharadyadav1986
threats-snapshots
0
votes
Q: Date histogram is performed on date/time values that are automatically extracted from the documents.
asked
Dec 24, 2021
in
Kibana Data Exquisites
by
rajeshsharma
data-histogram
+1
vote
Q: Date histogram is performed on date/time values that are automatically extracted from documents.
asked
Aug 1, 2019
in
Kibana
by
Venkatshastri
#kibana-elastic
#kibana-user-guide
#what-is-kibana
#kibana-tutorial
#how-to-use-kibana
#kibana
#kibana-demo
#kibana-github
#kibana-aws
#kibana-dashboard
#kibana-plugins
0
votes
Q: Do I need to import java.lang package any time? Why?
asked
May 2, 2021
in
JAVA
by
sharadyadav1986
#java
package
import-java
Java-questions-answers
0
votes
Q: There was an Issue In your project and your manager kept asking “why?’ several times. What is he doing?
asked
Apr 21, 2021
in
Agile
by
rajeshsharma
agile
planning
agile-mcq
agile-mcq-2021
agile-interview-questions
agile-questions-answers
...