Skip to content

Commit 24c5dc6

Browse files
author
Zach Ebner
committed
Adding education start date
1 parent 99f60d8 commit 24c5dc6

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The official Java SDK for the Sovren v10 API for resume/CV and job parsing, sear
1313
### Gradle Users
1414
Add this dependency to your project's build file:
1515
```
16-
implementation "com.sovren:sovren-java:1.8.0"
16+
implementation "com.sovren:sovren-java:1.9.0"
1717
```
1818

1919
### Maven Users
@@ -22,13 +22,13 @@ Add this dependency to your project's POM:
2222
<dependency>
2323
<groupId>com.sovren</groupId>
2424
<artifactId>sovren-java</artifactId>
25-
<version>1.8.0</version>
25+
<version>1.9.0</version>
2626
</dependency>
2727
```
2828

2929
### Others
3030
You'll need to manually install the following JARs:
31-
- The Sovren JAR from https://repo1.maven.org/maven2/com/sovren/sovren-java/1.8.0/sovren-java-1.8.0.jar
31+
- The Sovren JAR from https://repo1.maven.org/maven2/com/sovren/sovren-java/1.9.0/sovren-java-1.9.0.jar
3232
- [Google Gson][gson_url] from https://repo1.maven.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar
3333
- [Square OkHttp][okhttp_url] from https://repo1.maven.org/maven2/com/squareup/okhttp3/okhttp/4.9.3/okhttp-4.9.3.jar
3434

examples/parsing/Basic Parsing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public class ParsingExample {
142142
if (edu.GPA != null)
143143
System.out.println("GPA: " + edu.GPA.NormalizedScore + "/1.0 (" + edu.GPA.Score + "/" + edu.GPA.MaxScore + ")");
144144
String endDateRepresents = edu.Graduated != null && edu.Graduated.Value ? "Graduated" : "Last Attended";
145-
System.out.println(endDateRepresents + ": " + getSovrenDateAsString(edu.LastEducationDate));
145+
System.out.println(endDateRepresents + ": " + getSovrenDateAsString(edu.EndDate));
146146
}
147147
}
148148
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.sovren</groupId>
55
<artifactId>sovren-java</artifactId>
66

7-
<version>1.8.0</version>
7+
<version>1.9.0</version>
88

99
<packaging>jar</packaging>
1010
<name>Sovren Java SDK</name>

src/main/java/com/sovren/models/resume/education/EducationDetails.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,16 @@ public class EducationDetails {
5757
/** The GPA/marks listed on the resume*/
5858
public GradePointAverage GPA;
5959

60-
/** The date graduated or education ended*/
60+
/** The date graduated or education ended
61+
* @deprecated use {@link #EndDate} instead
62+
*/
6163
public SovrenDate LastEducationDate;
64+
65+
/** The date education started*/
66+
public SovrenDate StartDate;
67+
68+
/** The date graduated or education ended*/
69+
public SovrenDate EndDate;
6270

6371
/** Whether or not the candidate graduated*/
6472
public SovrenPrimitive<Boolean> Graduated;

src/test/java/com/sovren/integration/ParsingTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,8 @@ public void testGeneralOutput() throws Exception {
475475
assertNotNull(response.Value.ResumeData.Education.EducationDetails.get(0).GPA.Score);
476476
assertNotNull(response.Value.ResumeData.Education.EducationDetails.get(0).GPA.ScoringSystem);
477477
assertNull(response.Value.ResumeData.Education.EducationDetails.get(0).Graduated);
478-
assertDateNotNull(response.Value.ResumeData.Education.EducationDetails.get(0).LastEducationDate);
478+
assertDateNotNull(response.Value.ResumeData.Education.EducationDetails.get(0).StartDate);
479+
assertDateNotNull(response.Value.ResumeData.Education.EducationDetails.get(0).EndDate);
479480
assertNotNull(response.Value.ResumeData.Education.EducationDetails.get(0).Majors);
480481
assertHasItems(response.Value.ResumeData.Education.EducationDetails.get(0).Majors);
481482
assertNotNull(response.Value.ResumeData.Education.EducationDetails.get(0).SchoolName);

0 commit comments

Comments
 (0)