public abstract class AbstractMonthView<T extends AbstractWeek> extends Object
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
static org.slf4j.Logger |
logger |
protected Interval |
monthViewInterval |
protected T[] |
weeks |
Constructor and Description |
---|
AbstractMonthView(DateTime referenceDateTime) |
AbstractMonthView(DateTime referenceDateTime,
int firstDayOfWeek) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createWeek(LocalDate weekStart,
LocalDate weekEnd) |
protected abstract T[] |
createWeeksArray(int size) |
T |
findWeekByDateTime(DateTime dateTime) |
int |
getFirstDayOfWeek() |
LocalDate |
getMonthEnd() |
Interval |
getMonthInterval() |
LocalDate |
getMonthStart() |
LocalDate |
getMonthViewEnd() |
Interval |
getMonthViewInterval() |
LocalDate |
getMonthViewStart() |
LocalDate |
getReferenceDateMidnight() |
DateTime |
getReferenceDateTime() |
T |
getWeek(int index) |
public static final String copyright
protected final Interval monthViewInterval
protected final T extends AbstractWeek[] weeks
public static final org.slf4j.Logger logger
public AbstractMonthView(DateTime referenceDateTime)
public AbstractMonthView(DateTime referenceDateTime, int firstDayOfWeek)
protected abstract T[] createWeeksArray(int size)
public LocalDate getReferenceDateMidnight()
public LocalDate getMonthStart()
public LocalDate getMonthEnd()
public Interval getMonthInterval()
public Interval getMonthViewInterval()
public LocalDate getMonthViewStart()
public LocalDate getMonthViewEnd()
public T getWeek(int index)
public DateTime getReferenceDateTime()
public int getFirstDayOfWeek()