public abstract class AbstractMonth<T extends AbstractDay> extends Object
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected T[] |
days |
static org.slf4j.Logger |
logger |
Constructor and Description |
---|
AbstractMonth(LocalDate referenceDateMidnight) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createDay(LocalDate dayStart,
LocalDate dayEnd) |
protected abstract T[] |
createDaysArray(int size) |
T |
findDayByDate(LocalDate localDate) |
T |
getDay(int index) |
int |
getDaysCount() |
LocalDate |
getMonthEnd() |
Interval |
getMonthInterval() |
LocalDate |
getMonthStart() |
LocalDate |
getReferenceDateMidnight() |
public static final String copyright
protected final T extends AbstractDay[] days
public static final org.slf4j.Logger logger
public AbstractMonth(LocalDate referenceDateMidnight)
protected abstract T[] createDaysArray(int size)
public LocalDate getReferenceDateMidnight()
public LocalDate getMonthStart()
public LocalDate getMonthEnd()
public Interval getMonthInterval()
public int getDaysCount()
public T getDay(int index)