
nl.pvanassen.steam.store.item.StatDataPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of steam-api Show documentation
Show all versions of steam-api Show documentation
A Java API to access the Steam community market through the HTTP interface. This may be against the TOS so be careful using it!
package nl.pvanassen.steam.store.item;
import java.util.Date;
/**
* Object defining data points
*
* @author Paul van Assen
*/
public class StatDataPoint {
private final Date date;
private final int sales;
private final double average;
StatDataPoint(Date date, int sales, double average) {
super();
this.date = date;
this.sales = sales;
this.average = average;
}
/**
* @return the average
*/
public double getAverage() {
return average;
}
/**
* @return the date
*/
public Date getDate() {
return new Date(date.getTime());
}
/**
* @return the sales
*/
public int getSales() {
return sales;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy