Post Profile

How do you subtract two dates in Java?

Learn how to account for time discontinuities in Java and use the new Java Time API to calculate durations accurately. Continue reading How do you subtract two dates in Java?.
read more


Related Posts

Holidays and Business Date Calculations and translations

Programming / Windows Development : CodeProject

Add and Subtract Business Days between Dates. Calculate if Date is a Holiday

Continued Coverage of Java 7 Features and APIs

Technology / Programming :

Here at, we've obviously been giving some very decent coverage to the new features of Java 7, with a look at tackling some of the new Java 7 APIs like the new File I/O (NIO.2) and concurrency libraries with tutoria...

Using the Java SE 8 Date Time API with JPA 2.1

Technology / Programming : No Fluff Just Stuff

Most of you are hopefully aware of the new Date Time API included in Java SE 8. If you are not, you should check them out right now using the Java Tutorial Trail dedicated to the topic. It is a significantly leap forward in processi...

Java 8 – New way to deal with Date and Time

Technology / Programming :

The new Date/Time API was one of the long pending request from the Java developer community. As the existing Date related API is not developer friendly. With the older versions of Java we used third party date time libraries like Jo...

Java SE 8 new features tour: Calculating timespans with the new DateTime API

Programming / Windows Development : CodeProject

Cleaner, readable, and powerful coding with Java SE 8 New DateTime API JSR 310.....Java SE 8, JSR 310In this article of the “Java SE 8 new features tour” series, we will deep dig into explanation, and exploring the code of JSR 310 s...


Copyright © 2016 Regator, LLC