Subversion Repositories SmartDukaan

Rev

Rev 23640 | Rev 31860 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23640 Rev 24402
Line 221... Line 221...
221
 
221
 
222
	public String getFormattedCreateTimestamp() {
222
	public String getFormattedCreateTimestamp() {
223
		if (createTimestamp == null) {
223
		if (createTimestamp == null) {
224
			return null;
224
			return null;
225
		}
225
		}
226
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-YYYY HH:mm");
226
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
227
		return createTimestamp.format(formatter);
227
		return createTimestamp.format(formatter);
228
	}
228
	}
229
 
229
 
230
	public String getFormattedApproveTimestamp() {
230
	public String getFormattedApproveTimestamp() {
231
		if (approveTimestamp == null) {
231
		if (approveTimestamp == null) {
232
			return null;
232
			return null;
233
		}
233
		}
234
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-YYYY HH:mm");
234
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
235
		return approveTimestamp.format(formatter);
235
		return approveTimestamp.format(formatter);
236
	}
236
	}
237
 
237
 
238
	public LocalDateTime getApproveTimestamp() {
238
	public LocalDateTime getApproveTimestamp() {
239
		return approveTimestamp;
239
		return approveTimestamp;