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

nl.pvanassen.steam.store.item.StatDataPoint Maven / Gradle / Ivy

Go to download

A Java API to access the Steam community market through the HTTP interface. This may be against the TOS so be careful using it!

There is a newer version: 3.0.8
Show newest version
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