List of usage examples for org.joda.time DateTime toString
@ToString
public String toString()
From source file:monasca.api.domain.model.alarmstatehistory.AlarmStateHistory.java
License:Apache License
public void setTimestamp(DateTime timestamp) { this.timestamp = Conversions.variantToDateTime(timestamp); // Set the id in the AbstractEntity class. id = timestamp.toString(); }