diff --git a/.gitignore b/.gitignore
index e887b18..e58e14f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@
/.recommenders/
/RemoteSystemsTempFiles/
.settings/
-/target/
+target/
+/target/
\ No newline at end of file
diff --git a/README.md b/README.md
index a0f4b4c..25b2998 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,7 @@ defaultTimeFormat = "HH:mm:ss"
int getDay(Date date)
+ int getWeekDay(Date date) // 1 - Moday, 2 - Tuesday, ... 7 - Sunday
int getMonth(Date date) // 0-January, 1-February, ... 11-December
int getCorrectMonth(Date date) // human-like month numeration (1-January, 2-February, ... 12-December)
int getYear(Date date)
diff --git a/pom.xml b/pom.xml
index da36fc0..a8ee31e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.gmail.develop.jcant
JDate
- 1.7
+ 1.8
jar
JDate
@@ -15,8 +15,9 @@
UTF-8
1.8
+ 1.6
+ 1.6
-
diff --git a/src/main/java/com/gmail/develop/jcant/JDate.java b/src/main/java/com/gmail/develop/jcant/JDate.java
index 015ea12..f954eb7 100644
--- a/src/main/java/com/gmail/develop/jcant/JDate.java
+++ b/src/main/java/com/gmail/develop/jcant/JDate.java
@@ -206,6 +206,13 @@ public class JDate {
}
/* --- Date operations with parts--- */
+ // 1 - Moday, 2 - Tuesday, ... 7 - Sunday
+ public static int getWeekDay(Date date) {
+ Calendar day = Calendar.getInstance();
+ day.setTime(date);
+ return day.get(Calendar.DAY_OF_WEEK);
+ }
+
public static int getDay(Date date) {
Calendar day = Calendar.getInstance();
day.setTime(date);
diff --git a/target/JDate-1.6.jar b/target/JDate-1.6.jar
deleted file mode 100644
index 73b77d2..0000000
Binary files a/target/JDate-1.6.jar and /dev/null differ
diff --git a/target/classes/META-INF/MANIFEST.MF b/target/classes/META-INF/MANIFEST.MF
deleted file mode 100644
index f9f90ea..0000000
--- a/target/classes/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,5 +0,0 @@
-Manifest-Version: 1.0
-Built-By: ctai7658
-Build-Jdk: 1.8.0_181
-Created-By: Maven Integration for Eclipse
-
diff --git a/target/classes/META-INF/maven/com.gmail.develop.jcant/JDate/pom.properties b/target/classes/META-INF/maven/com.gmail.develop.jcant/JDate/pom.properties
deleted file mode 100644
index 061160d..0000000
--- a/target/classes/META-INF/maven/com.gmail.develop.jcant/JDate/pom.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-#Generated by Maven Integration for Eclipse
-#Fri Aug 23 09:01:49 EEST 2019
-version=1.7
-groupId=com.gmail.develop.jcant
-m2e.projectName=JDate
-m2e.projectLocation=D\:\\JC\\Develop\\Java\\luckyclover\\JDate
-artifactId=JDate
diff --git a/target/classes/META-INF/maven/com.gmail.develop.jcant/JDate/pom.xml b/target/classes/META-INF/maven/com.gmail.develop.jcant/JDate/pom.xml
deleted file mode 100644
index da36fc0..0000000
--- a/target/classes/META-INF/maven/com.gmail.develop.jcant/JDate/pom.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
- 4.0.0
-
- com.gmail.develop.jcant
- JDate
- 1.7
- jar
-
- JDate
- Date/Time routines
- https://github.com/jcant/JDate.git
-
-
- UTF-8
- 1.8
-
-
-
-
-
-
-
diff --git a/target/classes/com/gmail/develop/jcant/JDate.class b/target/classes/com/gmail/develop/jcant/JDate.class
index a984161..8125af6 100644
Binary files a/target/classes/com/gmail/develop/jcant/JDate.class and b/target/classes/com/gmail/develop/jcant/JDate.class differ
diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties
index f17b850..b3846cb 100644
--- a/target/maven-archiver/pom.properties
+++ b/target/maven-archiver/pom.properties
@@ -1,5 +1,5 @@
#Generated by Maven
-#Fri Aug 23 09:35:06 EEST 2019
-version=1.7
+#Sun Oct 06 11:37:24 EEST 2019
groupId=com.gmail.develop.jcant
artifactId=JDate
+version=1.8
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
index e69de29..093e2ed 100644
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -0,0 +1 @@
+com/gmail/develop/jcant/JDate.class
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
index 26238da..4709e2a 100644
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -1 +1 @@
-D:\JC\Develop\Java\luckyclover\JDate\src\main\java\com\gmail\develop\jcant\JDate.java
+/home/jcant/LuckyProject/Helpers/JDate/src/main/java/com/gmail/develop/jcant/JDate.java