|
@@ -93,6 +93,9 @@ public class PatientMemoDTO {
|
|
public String getRecordedDateFormatted() {
|
|
public String getRecordedDateFormatted() {
|
|
return getDateFormatted(this.recordedDate);
|
|
return getDateFormatted(this.recordedDate);
|
|
}
|
|
}
|
|
|
|
+ public String getUpdateDateFormatted() {
|
|
|
|
+ return getDateFormatted(this.updateDate);
|
|
|
|
+ }
|
|
private String getDateFormatted(String dateString) {
|
|
private String getDateFormatted(String dateString) {
|
|
SimpleDateFormat originalFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
|
|
SimpleDateFormat originalFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
|
|
SimpleDateFormat targetFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
|
|
SimpleDateFormat targetFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
|