plugins
Interface IHTCalendar

All Known Implementing Classes:
HTCalendar

public interface IHTCalendar


Method Summary
 int getHTSeason()
          Gets the calculated Hattrick season or 0 if the date is before the league's first season.
 int getHTWeek()
          Gets the calculated Hattrick week.
 java.util.Date getTime()
          Gets the date for which the Hattrick season and week is calculated.
 void initialize(java.util.Calendar marker)
          Initializes the HTCalendar for flip-over point.
 void setSeasonCorrection(int correction)
          Sets the season correction factor for the local league.
 void setTime(java.util.Calendar cal)
          Sets the date for which to calculate the Hattrick season and week.
 void setTime(java.util.Date time)
          Sets the date for which to calculate the Hattrick season and week.
 void setTime(java.sql.Timestamp time)
          Sets the date for which to calculate the Hattrick season and week.
 

Method Detail

getHTSeason

int getHTSeason()
Gets the calculated Hattrick season or 0 if the date is before the league's first season.

Returns:
The calculated Hattrick season.

getHTWeek

int getHTWeek()
Gets the calculated Hattrick week. or 0 if the date is before the league's first season.

Returns:
The calculated Hattrick week.

setTime

void setTime(java.sql.Timestamp time)
Sets the date for which to calculate the Hattrick season and week.

Parameters:
time - Date for which to calculate the Hattrick season and week.

setTime

void setTime(java.util.Date time)
Sets the date for which to calculate the Hattrick season and week.

Parameters:
time - Date for which to calculate the Hattrick season and week.

setTime

void setTime(java.util.Calendar cal)
Sets the date for which to calculate the Hattrick season and week.

Parameters:
cal - Date for which to calculate the Hattrick season and week.

getTime

java.util.Date getTime()
Gets the date for which the Hattrick season and week is calculated.

Returns:
Date for which the Hattrick season and week is calculated.

initialize

void initialize(java.util.Calendar marker)
Initializes the HTCalendar for flip-over point.

Parameters:
marker - Calendar representing a day on which the week ends/starts

setSeasonCorrection

void setSeasonCorrection(int correction)
Sets the season correction factor for the local league.

Parameters:
correction - TODO Missing Constructuor Parameter Documentation