WeekEnum.java 612 Bytes
package com.viontech.enums;

/**
 * Created by Administrator
 */
public enum WeekEnum {
    MONDAY("monday"),TUESDAY("tuesday"),WEDNESDAY("wednesday"),THURSDAY("thursday"),FRIDAY("friday"),SATURDAY("saturday"),SUNDAY("sunday"),
    WEEK_1("monday"),WEEK_2("tuesday"),WEEK_3("wednesday"),WEEK_4("thursday"),WEEK_5("friday"),WEEK_6("saturday"),WEEK_7("sunday"),WEEK_0("sunday");
    private String week;
    WeekEnum(String week){
        this.week = week;
    }
    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }
}