You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
1.5 KiB

class CalendarConstants {
//单选或者多选模式
// 单选
static const int MODE_SINGLE_SELECT = 1;
/// 多选
static const int MODE_MULTI_SELECT = 2;
/// 选择开始和结束 中间的自动选择
static const int MODE_MULTI_SELECT_FROM_TO_END = 3;
//展示模式
static const int MODE_SHOW_ONLY_MONTH = 1; //仅支持月视图
static const int MODE_SHOW_ONLY_WEEK = 2; //仅支持星期视图
static const int MODE_SHOW_WEEK_AND_MONTH = 3; //支持两种视图,先显示周视图
static const int MODE_SHOW_MONTH_AND_WEEK = 4; //支持两种视图,先显示月视图
/**
* 一周七天
*/
static const List<String> WEEK_LIST = [
"周一",
"周二",
"周三",
"周四",
"周五",
"周六",
"周日"
];
/**
* 农历的月份
*/
static const List<String> LUNAR_MONTH_TEXT = [
"春节",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"冬月",
"腊月",
];
/**
* 农历的日期
*/
static const List<String> LUNAR_DAY_TEXT = [
"初一",
"初二",
"初三",
"初四",
"初五",
"初六",
"初七",
"初八",
"初九",
"初十",
"十一",
"十二",
"十三",
"十四",
"十五",
"十六",
"十七",
"十八",
"十九",
"二十",
"廿一",
"廿二",
"廿三",
"廿四",
"廿五",
"廿六",
"廿七",
"廿八",
"廿九",
"三十"
];
}