Code example for Timestamp

Methods: toString

0
 
	public MatchingsSpace(String ID) {
		this.matchings = new ArrayList<Matching>();
		this.ID = ID;
		java.util.Date date = new java.util.Date();
		Timestamp timeStamp = new Timestamp(date.getTime());
		this.timestamp = timeStamp.toString();
	} 
 
	public List<Matching> getMatchings() {
		return matchings;
	} 
 
	public void setMatchings(List<Matching> matchings) {
		this.matchings = matchings;
	} 
 
	public String getTimestamp() {
		return timestamp;
	}