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

xuml.tools.model.compiler.runtime.query.DateConstant Maven / Gradle / Ivy

There is a newer version: 0.6
Show newest version
package xuml.tools.model.compiler.runtime.query;

import java.util.Date;

import scala.concurrent.duration.Duration;
import xuml.tools.model.compiler.runtime.Entity;

public class DateConstant> extends DateExpression {

    private final Date value;

    public DateConstant(Date value) {
        this.value = value;
    }

    public DateConstant(Duration duration) {
        this(new Date(duration.toMillis()));
    }

    public Date getValue() {
        return value;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy