±×¸² 1
¾Æ·¡¿Í °°ÀÌ ½Ã½ºÅÛ ½ÃÀ۽ð£°ú ¸¶°¨½Ã°£À» Á¤Çؼ °Å·¡Çϱ⸦ ¿øÇϴµ¥¿ä
¼ÂÆÃÇÑ ½Ã°£¿Ü¿¡ ÁøÀÔÀÌ µÇ´Â ¿À·ù°¡ ¹ß»ý ÇÕ´Ï´Ù
input : StartTime(090000),EndTime(120000);
var : Tcond(False);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
Tcond = False;
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
if Tcond == true Then