Skip to content

Commit

Permalink
[BAEL-19059] - Move new articles to java-dates-operations module
Browse files Browse the repository at this point in the history
  • Loading branch information
catalin-burcea committed Dec 7, 2019
1 parent c1721cf commit 35711d3
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
5 changes: 5 additions & 0 deletions core-java-modules/core-java-date-operations/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Core Date Operations
This module contains articles about date operations in Java.

### Relevant Articles:
- [Get the Current Date Prior to Java 8](https://www.baeldung.com/java-get-the-current-date-legacy)
- [Skipping Weekends While Adding Days to LocalDate in Java 8](https://www.baeldung.com/java-localdate-add-days-skip-weekends)
- [Checking If Two Java Dates Are on the Same Day](https://www.baeldung.com/java-check-two-dates-on-same-day)
- [Converting Java Date to OffsetDateTime](https://www.baeldung.com/java-convert-date-to-offsetdatetime)
1 change: 1 addition & 0 deletions core-java-modules/core-java-date-operations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>core-java-date-operations</artifactId>
<version>${project.parent.version}</version>
<name>core-java-date-operations</name>
<packaging>jar</packaging>

<parent>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.date.conversion;
package com.baeldung.offsetdatetime;

import java.time.OffsetDateTime;
import java.time.ZoneOffset;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.datetime;
package com.baeldung.skipweekends;

import java.time.DayOfWeek;
import java.time.LocalDate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.baeldung.date.comparison;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;

import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;

import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

public class DateComparisonUtilsUnitTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
package com.baeldung.datetime;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

import com.baeldung.datetime.CalendarUtils;
import com.baeldung.datetime.DateUtils;

import java.text.ParseException;
import java.util.Date;

import static org.junit.Assert.assertEquals;

public class CalendarUtilsUnitTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package com.baeldung.datetime;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

import com.baeldung.datetime.DateUtils;

import java.text.ParseException;
import java.util.Date;

import static org.junit.Assert.assertEquals;

public class DateUtilsUnitTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.baeldung.date.conversion;
package com.baeldung.offsetdatetime;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;

import java.time.OffsetDateTime;
import java.util.Date;

import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

public class ConvertToOffsetDateTimeUnitTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.baeldung.datetime;
package com.baeldung.skipweekends;

import static org.junit.Assert.assertEquals;

import com.baeldung.skipweekends.AddSubtractDaysSkippingWeekendsUtils;
import org.junit.Test;

import java.time.LocalDate;
Expand Down
2 changes: 0 additions & 2 deletions java-dates-2/README.md

This file was deleted.

0 comments on commit 35711d3

Please sign in to comment.