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

net.jacobpeterson.polygon.enums.Timespan Maven / Gradle / Ivy

There is a newer version: 9.2.0
Show newest version
package net.jacobpeterson.polygon.enums;

import net.jacobpeterson.abstracts.enums.APIName;

/**
 * The Enum Timespan.
 */
public enum Timespan implements APIName {

    /** The Minute. */
    MINUTE("minute"),

    /** The Hour. */
    HOUR("hour"),

    /** The Day. */
    DAY("day"),

    /** The Week. */
    WEEK("week"),

    /** The Month. */
    MONTH("month"),

    /** The Quarter. */
    QUARTER("quarter"),

    /** The Year. */
    YEAR("year");

    /** The api name. */
    String apiName;

    /**
     * Instantiates a new order type.
     *
     * @param apiName the api name
     */
    Timespan(String apiName) {
        this.apiName = apiName;
    }

    @Override
    public String getAPIName() {
        return apiName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy