![JAR search and dependency download from the Maven repository](/logo.png)
com.tecacet.finance.service.calendar.enrico.EnricoCountry Maven / Gradle / Ivy
package com.tecacet.finance.service.calendar.enrico;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import java.time.LocalDate;
import java.util.List;
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
class CountryDate {
int day;
int month;
int year;
}
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
class EnricoCountry {
private String countryCode;
private String fullName;
private List holidayTypes;
private List regions;
private CountryDate fromDate;
private CountryDate toDate;
public String getCountryCode() {
return countryCode;
}
public String getFullName() {
return fullName;
}
public List getHolidayTypes() {
return holidayTypes;
}
public List getRegions() {
return regions;
}
public LocalDate getFromDate() {
return fromDate == null ? null : LocalDate.of(fromDate.year, fromDate.month, fromDate.day);
}
public LocalDate getToDate() {
return toDate == null ? null : LocalDate.of(toDate.year, toDate.month, toDate.day);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy