BAEL-1074 move difference between dates from core-java to libraries (#2533)

* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article

* Improve dates diff: for dates and datetimes

* Move difference between dates from core-java to libraries
This commit is contained in:
Dassi orleando 2017-08-30 15:23:59 +01:00 committed by Grzegorz Piwowarek
parent 085cef8fb3
commit 2aeef70d39
3 changed files with 19 additions and 13 deletions

View File

@ -192,16 +192,6 @@
<artifactId>fscontext</artifactId> <artifactId>fscontext</artifactId>
<version>${fscontext.version}</version> <version>${fscontext.version}</version>
</dependency> </dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
<dependency>
<groupId>com.darwinsys</groupId>
<artifactId>hirondelle-date4j</artifactId>
<version>${hirondelle-date4j.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.codepoetics</groupId> <groupId>com.codepoetics</groupId>
<artifactId>protonpack</artifactId> <artifactId>protonpack</artifactId>
@ -434,8 +424,6 @@
<grep4j.version>1.8.7</grep4j.version> <grep4j.version>1.8.7</grep4j.version>
<lombok.version>1.16.12</lombok.version> <lombok.version>1.16.12</lombok.version>
<fscontext.version>4.6-b01</fscontext.version> <fscontext.version>4.6-b01</fscontext.version>
<joda-time.version>2.9.9</joda-time.version>
<hirondelle-date4j.version>1.5.1</hirondelle-date4j.version>
<protonpack.version>1.13</protonpack.version> <protonpack.version>1.13</protonpack.version>
<streamex.version>0.6.5</streamex.version> <streamex.version>0.6.5</streamex.version>

View File

@ -498,6 +498,22 @@
<artifactId>gt-swing</artifactId> <artifactId>gt-swing</artifactId>
<version>${geotools.version}</version> <version>${geotools.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.darwinsys</groupId>
<artifactId>hirondelle-date4j</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
<dependency>
<groupId>com.darwinsys</groupId>
<artifactId>hirondelle-date4j</artifactId>
<version>${hirondelle-date4j.version}</version>
</dependency>
</dependencies> </dependencies>
<repositories> <repositories>
<repository> <repository>
@ -564,5 +580,7 @@
<streamex.version>0.6.5</streamex.version> <streamex.version>0.6.5</streamex.version>
<vavr.version>0.9.0</vavr.version> <vavr.version>0.9.0</vavr.version>
<geotools.version>15.2</geotools.version> <geotools.version>15.2</geotools.version>
<joda-time.version>2.9.9</joda-time.version>
<hirondelle-date4j.version>1.5.1</hirondelle-date4j.version>
</properties> </properties>
</project> </project>

View File

@ -1,4 +1,4 @@
package com.baeldung; package com.baeldung.date;
import org.junit.Test; import org.junit.Test;