businessHours (Properties)

지정한 요일, 시간 범위를 업무시간(Business Hours)으로 설정합니다.(업무 시간 이외의 영역은 다른 배경색이 적용됩니다.)

Type

boolean | object | array

Options

Value Description
false 업무시간(Business Hours)을 설정하지 않습니다.(default)
true 월요일 ~ 금요일, 오전 9시 ~ 오후 5시 영역을 업무시간(Business Hours)으로 설정합니다.
object 객체로 요일, 시간 범위를 세부적으로 설정합니다.
array 객체를 여러개의 배열로 나누어 설정합니다.

Example

options = {
    businessHours: true
};
Value Description
daysOfWeek 요일
startTime 업무시작 시간을 설정합니다.
endTime 업무종료 시간을 설정합니다.
options = {
    businessHours: {
        daysOfWeek: [1, 2, 3, 4, 5],  //월요일 ~ 금요일
        startTime: "10:00",           //출근 시간
        endTime: "18:00"             //퇴근 시간
    }
};
options = {
    businessHours: [
        {
            daysOfWeek: [1, 2, 3],  //월요일 ~ 수요일
            startTime: "10:00",           //출근 시간
            endTime: "18:00"             //퇴근 시간
        },
        {
            daysOfWeek: [4, 5], //목요일 ~ 금요일
            startTime: "09:00", //출근 시간
            endTime: "17:00"   //퇴근 시간
        }
    ],
};

Since

product version desc
core 1.5.0.0 기능 추가