Subversion Repositories SmartDukaan

Rev

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

Rev 24087 Rev 24402
Line 129... Line 129...
129
	
129
	
130
	public String getFormattedActiveTimestamp(){
130
	public String getFormattedActiveTimestamp(){
131
		if(activeTimestamp == null){
131
		if(activeTimestamp == null){
132
			return null;
132
			return null;
133
		}
133
		}
134
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-YYYY HH:mm");
134
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
135
		return activeTimestamp.format(formatter);
135
		return activeTimestamp.format(formatter);
136
    }
136
    }
137
	
137
	
138
	public String getFormattedExpireTimestamp(){
138
	public String getFormattedExpireTimestamp(){
139
		if(expireTimestamp == null){
139
		if(expireTimestamp == null){
140
			return null;
140
			return null;
141
		}
141
		}
142
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-YYYY HH:mm");
142
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
143
		return expireTimestamp.format(formatter);
143
		return expireTimestamp.format(formatter);
144
    }
144
    }
145
	
145
	
146
	public String getFormattedCreateTimestamp(){
146
	public String getFormattedCreateTimestamp(){
147
		if(createTimestamp == null){
147
		if(createTimestamp == null){
148
			return null;
148
			return null;
149
		}
149
		}
150
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-YYYY HH:mm");
150
		DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
151
		return createTimestamp.format(formatter);
151
		return createTimestamp.format(formatter);
152
    }
152
    }
153
 
153
 
154
	@Override
154
	@Override
155
	public int hashCode() {
155
	public int hashCode() {