public class WeekUtility
extends java.lang.Object
Constructor and Description |
---|
WeekUtility() |
Modifier and Type | Method and Description |
---|---|
int |
getDayIndex(java.util.Date selectedDay) |
int |
getWeekIndex(java.util.Date selectedDay) |
java.util.Date |
getWeekStart(java.util.Date selectedDay) |
void |
init(GWASchedule schedule) |
boolean |
isLoaded(int week) |
void |
markAsLoaded(int week) |
void |
reset(GRSchedule schedule,
java.util.Date selectedDate) |
void |
reset(GWASchedule schedule,
java.util.Date selectedDate) |
public void init(GWASchedule schedule)
public void reset(GWASchedule schedule, java.util.Date selectedDate)
public void reset(GRSchedule schedule, java.util.Date selectedDate)
public int getWeekIndex(java.util.Date selectedDay)
public java.util.Date getWeekStart(java.util.Date selectedDay)
public int getDayIndex(java.util.Date selectedDay)
public void markAsLoaded(int week)
public boolean isLoaded(int week)