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

com.tecacet.finance.services.tradingday.Calendar Maven / Gradle / Ivy

Go to download

JFApi connects to various Web Services that provide financial data such as stock prices, splits, dividends, and FX rates.

There is a newer version: 1.1.3
Show newest version
package com.tecacet.finance.services.tradingday;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

import java.util.List;

@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
class Days {
    @JsonProperty("day")
    List days;
}

@JsonRootName(value = "calendar")
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class Calendar {

    private int month;
    private int year;
    private Days days;

    public int getMonth() {
        return month;
    }

    public int getYear() {
        return year;
    }

    public List getDays() {
        return days == null ? null : days.days;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy