All Downloads are FREE. Search and download functionalities are using the official Maven repository.

restx.specs.GivenTime Maven / Gradle / Ivy

There is a newer version: 1.2.0-rc2
Show newest version
package restx.specs;

import org.joda.time.DateTime;

/**
* @author xavierhanin
*/
public class GivenTime implements Given {

    private final DateTime time;

    public GivenTime(DateTime time) {
        this.time = time;
    }

    public DateTime getTime() {
        return time;
    }

    @Override
    public void toString(StringBuilder sb) {
        sb.append("  - time: ").append(time.toString()).append("\n");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy