From 43044021f23accdaac5663821d659f841a8db8ac Mon Sep 17 00:00:00 2001 From: Jinil Sung Date: Wed, 2 Aug 2023 16:29:56 -0700 Subject: [PATCH] GRAD2-2266: task is completed. GRAD2-2266: task is completed. --- ...uationStudentRecordHistoryTransformer.java | 3 ++ .../educ/api/gradstudent/util/DateUtils.java | 43 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 api/src/main/java/ca/bc/gov/educ/api/gradstudent/util/DateUtils.java diff --git a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/model/transformer/GraduationStudentRecordHistoryTransformer.java b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/model/transformer/GraduationStudentRecordHistoryTransformer.java index 1440468a..14dbb1e3 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/model/transformer/GraduationStudentRecordHistoryTransformer.java +++ b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/model/transformer/GraduationStudentRecordHistoryTransformer.java @@ -2,6 +2,7 @@ import ca.bc.gov.educ.api.gradstudent.model.dto.GraduationStudentRecordHistory; import ca.bc.gov.educ.api.gradstudent.model.entity.GraduationStudentRecordHistoryEntity; +import ca.bc.gov.educ.api.gradstudent.util.DateUtils; import ca.bc.gov.educ.api.gradstudent.util.EducGradStudentApiUtils; import ca.bc.gov.educ.api.gradstudent.util.GradValidation; import org.modelmapper.ModelMapper; @@ -44,6 +45,8 @@ public List transformToDTO (Iterable