我有像 starttime(8.30 am) 到 endtime(5.00pm) 这样的值。我需要检查当前时间是否在 stattime 和 endtime 之间。
规则“规则1”
when
day="Monday" && currentTime between (8.45am) and (5.00pm) ;
then
return true;
when
day="Sunday" && currentTime between (9.00am) and (11.00am);
Then
return true;
结尾