Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
help me in this set analysis:
I need to consider activities with start into an interval defined by two variable either activities with start before interval with end after interval
Only
(
{$ <
TIME_BEGIN = {'>$(TimeBeginZ)<$(TimeEndZ)'}
OR
{
TIME_END = {'>$(TimeEndZ)'}
AND
TIME_BEGIN = {'<$(TimeBeginZ)' }
}
>
}
TIME_END-TIME_BEGIN
)
How can I insert the second set?
Only
(
{$ <
TIME_BEGIN = {'>$(TimeBeginZ)<$(TimeEndZ)'}
>
} +
{$ <
TIME_END = {'>$(TimeEndZ)'},
TIME_BEGIN = {'<$(TimeBeginZ)' }
>
}
TIME_END-TIME_BEGIN
)
Thanks in advance
Corrado
Try like:
Only
(
{$ <
TIME_BEGIN = {'>$(TimeBeginZ)<$(TimeEndZ)'}
>
+
< TIME_END = {'>$(TimeEndZ)'}>
*
< TIME_BEGIN = {'<$(TimeBeginZ)' } >
}
TIME_END-TIME_BEGIN
)
Edit: Corrected the brackets.
Try like:
Only
(
{$ <
TIME_BEGIN = {'>$(TimeBeginZ)<$(TimeEndZ)'}
>
+
< TIME_END = {'>$(TimeEndZ)'}>
*
< TIME_BEGIN = {'<$(TimeBeginZ)' } >
}
TIME_END-TIME_BEGIN
)
Edit: Corrected the brackets.
Hi Corrado,
try this too
Only
(
{$ <
TIME_BEGIN = {'>$(TimeBeginZ)<$(TimeEndZ)'}
>
+
< TIME_END = {'>$(TimeEndZ)'}, TIME_BEGIN = {'<$(TimeBeginZ)' } >
}
TIME_END-TIME_BEGIN
)
Regards
Hilic
Thanks all,
the answers are all correct.
Regards
Corrado