List of usage examples for org.joda.time.base AbstractDateTime toString
@ToString
public String toString()
From source file:org.powertac.common.TimeService.java
License:Apache License
/** * Sets current time to a specific value. Intended for testing purposes only. *///from w w w . j ava 2 s . c o m @StateChange protected void setCurrentTime(AbstractDateTime time) { log.debug("ts" + id + " setCurrentTime to " + time.toString()); setCurrentTime(new Instant(time)); //currentTime = new Instant(time); //currentDateTime = new DateTime(time, DateTimeZone.UTC); }