Compare commits
No commits in common. "7c95c1d92a0ce0a3e6e242212aed592b3629604a" and "2c0e524549b68b1c18076e2f4cbb15597ab2c719" have entirely different histories.
7c95c1d92a
...
2c0e524549
3 changed files with 3 additions and 7 deletions
|
@ -36,7 +36,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.hazelcast</groupId>
|
<groupId>com.hazelcast</groupId>
|
||||||
<artifactId>hazelcast</artifactId>
|
<artifactId>hazelcast-all</artifactId>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -40,7 +40,7 @@
|
||||||
<scm.projectId>time</scm.projectId>
|
<scm.projectId>time</scm.projectId>
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
|
|
||||||
<hazelcast.version>5.4.0</hazelcast.version>
|
<hazelcast.version>4.2.8</hazelcast.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.hazelcast</groupId>
|
<groupId>com.hazelcast</groupId>
|
||||||
<artifactId>hazelcast</artifactId>
|
<artifactId>hazelcast-all</artifactId>
|
||||||
<version>${hazelcast.version}</version>
|
<version>${hazelcast.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -35,10 +35,6 @@ public class TimeUtil {
|
||||||
return LocalDate.now();
|
return LocalDate.now();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static LocalDate yesterday() {
|
|
||||||
return today().minusDays(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static LocalDate convert(Date dateToConvert) {
|
public static LocalDate convert(Date dateToConvert) {
|
||||||
return dateToConvert.toInstant()
|
return dateToConvert.toInstant()
|
||||||
.atZone(ZoneId.systemDefault())
|
.atZone(ZoneId.systemDefault())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue