Java - Time

Java Conceptuel Diagram


Java.time package supplants the old java.util.Date/Calendar classes.

Let op: javase/9/docs/api/java/util/concurrent/TimeUnit.html. A TimeUnit does not maintain time information (just for thread concurrency)




  • Build an instant
  • Diff between two date time in millisecond
ChronoUnit.MILLIS.between(startTime, endTime);

Discover More
Java Conceptuel Diagram
Java - Calendar

The java/util/Calendarjava.util.Calendar is a class that wraps a instant in time and offers utility function that manipulate time. The java/util/Calendarjava.util.Calendar class provides: a...
Java Conceptuel Diagram
Java - Date / Time

Date data type in Java Packages implementing a date representation: java/util/Datejava.util.Date java/util/Calendarjava.util.Calendar See Java.time package supplants the old java.util.Date/Calendar...

Share this page:
Follow us:
Task Runner