public class SeasonCi extends Object
Constructor and Description |
---|
SeasonCi(ExportableSeasonCi exportable) |
SeasonCi(com.sportradar.uf.sportsapi.datamodel.SapiSeasonExtended season,
Locale locale)
Initializes a new instance of the
SeasonCi class |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified object is equal to the current object
|
ExportableSeasonCi |
export() |
Date |
getEndDate()
Returns the
Date specifying the end date of the season |
Urn |
getId()
Returns the
Urn of the represented sport entity |
String |
getName(Locale locale)
Returns the name of the season in the specified language
|
Date |
getStartDate()
Returns the
Date specifying the start date of the season |
Urn |
getTournamentId()
Returns the associated tournament identifier
|
String |
getYear()
Returns the
String representation the year of the season |
int |
hashCode()
Serves as the default hash function
|
boolean |
hasTranslationsFor(List<Locale> locales) |
void |
merge(com.sportradar.uf.sportsapi.datamodel.SapiSeasonExtended season,
Locale locale)
Merges the information from the provided
SapiSeasonExtended into the current instance |
void |
merge(SeasonCi season,
Locale locale)
Merges the information from the provided
SeasonCi into the current instance |
public SeasonCi(com.sportradar.uf.sportsapi.datamodel.SapiSeasonExtended season, Locale locale)
SeasonCi
classseason
- - SapiSeasonExtended
containing information about the seasonlocale
- - Locale
specifying the language of the seasonpublic SeasonCi(ExportableSeasonCi exportable)
public void merge(com.sportradar.uf.sportsapi.datamodel.SapiSeasonExtended season, Locale locale)
SapiSeasonExtended
into the current instanceseason
- - SapiSeasonExtended
containing information about the seasonlocale
- - Locale
specifying the language of the seasonpublic void merge(SeasonCi season, Locale locale)
SeasonCi
into the current instancepublic Date getStartDate()
Date
specifying the start date of the seasonDate
specifying the start date of the seasonpublic Date getEndDate()
Date
specifying the end date of the seasonDate
specifying the end date of the seasonpublic String getYear()
String
representation the year of the seasonString
representation the year of the seasonpublic Urn getTournamentId()
public String getName(Locale locale)
locale
- - Locale
specifying the language of the returned abbreviationpublic ExportableSeasonCi export()
public Urn getId()
Urn
of the represented sport entityUrn
of the represented sport entitypublic boolean equals(Object obj)
Copyright © 2016–2025. All rights reserved.