package com.beanpodtech.allinone.widget.calendar.component;

/**
 * Created by ldf on 17/6/26.
 */

public class CalendarAttr {
    /**
     * 以何种方式排列星期:<br/>
     * {@link WeekArrayType} <br/>
     */
    private WeekArrayType weekArrayType;

    /**
     * 日历周布局或者月布局:<br/>
     * {@link CalendarType} 布局类型<br/>
     */
    private CalendarType calendarType;

    /**
     * 日期格子高度
     */
    private int cellHeight;

    /**
     * 日期格子宽度
     */
    private int cellWidth;

    public WeekArrayType getWeekArrayType() {
        return weekArrayType;
    }

    public void setWeekArrayType(WeekArrayType weekArrayType) {
        this.weekArrayType = weekArrayType;
    }

    public CalendarType getCalendarType() {
        return calendarType;
    }

    public void setCalendarType(CalendarType calendarType) {
        this.calendarType = calendarType;
    }

    public int getCellHeight() {
        return cellHeight;
    }

    public void setCellHeight(int cellHeight) {
        this.cellHeight = cellHeight;
    }

    public int getCellWidth() {
        return cellWidth;
    }

    public void setCellWidth(int cellWidth) {
        this.cellWidth = cellWidth;
    }

    public enum WeekArrayType {
        /*周日作为本周的第一天*/Sunday,
        /*周一作为本周的第一天*/Monday
    }

    public enum CalendarType {
        WEEK, MONTH
    }
}
