Subversion Repositories SmartDukaan

Rev

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

Rev 23758 Rev 24402
Line 235... Line 235...
235
	
235
	
236
	public String getFormattedCreateTimestamp(){
236
	public String getFormattedCreateTimestamp(){
237
		if(createTimestamp == null){
237
		if(createTimestamp == null){
238
			return null;
238
			return null;
239
		}
239
		}
240
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-YYYY HH:mm");
240
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
241
		return createTimestamp.format(formatter);
241
		return createTimestamp.format(formatter);
242
    }
242
    }
243
	
243
	
244
	public String getFormattedUpdateTimestamp(){
244
	public String getFormattedUpdateTimestamp(){
245
		if(updateTimestamp == null){
245
		if(updateTimestamp == null){
246
			return null;
246
			return null;
247
		}
247
		}
248
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-YYYY HH:mm");
248
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
249
		return updateTimestamp.format(formatter);
249
		return updateTimestamp.format(formatter);
250
    }
250
    }
251
 
251
 
252
	@Override
252
	@Override
253
	public int hashCode() {
253
	public int hashCode() {