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

net.savantly.graphite.query.impl.UntilImpl Maven / Gradle / Ivy

The newest version!
package net.savantly.graphite.query.impl;

import net.savantly.graphite.query.GraphiteTimeUnit;
import net.savantly.graphite.query.Until;

public class UntilImpl implements Until {
	
	private String value = "now";
	
	public UntilImpl() { }
	
	public UntilImpl(int value, GraphiteTimeUnit unit) {
		this.value = String.format("%i%s", value, unit.value());
	}

	@Override
	public String value() {
		return this.value;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy