com.tecacet.finance.services.tradingday.Calendar Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfapi Show documentation
Show all versions of jfapi Show documentation
JFApi connects to various Web Services that provide financial data such as stock prices,
splits, dividends, and FX rates.
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