public class SeasonInfoImpl extends Object implements SeasonInfo
Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
Returns the
Date specifying the end date of the season |
Urn |
getId()
Returns a
Urn uniquely identifying the current SeasonInfo instance |
String |
getName(Locale locale)
Returns the name of the season in the specified language
|
Map<Locale,String> |
getNames()
Returns an unmodifiable
Map containing translated names |
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 |
String |
toString()
Returns a
String describing the current SeasonInfo instance |
public Urn getId()
Urn
uniquely identifying the current SeasonInfo
instancegetId
in interface SeasonInfo
Urn
uniquely identifying the current SeasonInfo
instancepublic String getName(Locale locale)
getName
in interface SeasonInfo
locale
- - a Locale
specifying the language of the returned namepublic Map<Locale,String> getNames()
Map
containing translated namesgetNames
in interface SeasonInfo
Map
containing translated namesImmutableMap
public Date getStartDate()
Date
specifying the start date of the seasongetStartDate
in interface SeasonInfo
Date
specifying the start date of the seasonpublic Date getEndDate()
Date
specifying the end date of the seasongetEndDate
in interface SeasonInfo
Date
specifying the end date of the seasonpublic String getYear()
String
representation the year of the seasongetYear
in interface SeasonInfo
String
representation the year of the seasonpublic Urn getTournamentId()
getTournamentId
in interface SeasonInfo
public String toString()
String
describing the current SeasonInfo
instancetoString
in class Object
String
describing the current SeasonInfo
instanceCopyright © 2016–2025. All rights reserved.