추가한 휴일 중 특정 휴일의 인덱스를 반환하는 API이다.
Parameters | Type | Description |
---|---|---|
strDate | STRING | 인덱스를 알고싶은 휴일의 날짜 |
Type | Description |
---|---|
short | 추가한 휴일의 인덱스(ReMark 참조) |
**추가한 휴일 중에 strDate에 해당하는 날이 없는 경우 -1을 리턴한다.
function btngetholidayindex_on_mouseup()
{
screen.alert("holidayindex: " + factory.getholidayindex("20160921");
}