This document outlines tests to determine if a job was completed within a weekly work boundary or not. It describes checking if a job's start and finish times fall within the start and end of the work week, as well as handling cases where the start or finish fall outside of the boundaries. An alternative and less complicated method is proposed that uses the week number on a Gantt chart instead of specific start and end dates to determine if equal signs or a blank string should be applied.
1 of 1
Download to read offline
More Related Content
Logic behinddatebarchart
1. Test for uncompleteness
i.e.Open or closed or
100% or <100%
Zero Length String
Closed or 100%
Test for FINISH Within the Wk Boundary
IF FINISH> WKStart
AND FINISH<=(WKStart+6)
OPEN or <100%
Test for START Within the Wk Boundary
IF START> WKStart
AND START<=(WKStart+6)
NO
Equal Signs
=========
YES
Equal Signs
==========
YES
Test for START & FINISH Outside the Wk
Boundary
IF START< WKStart
AND FINISH>(WKStart+6)
NO
Equal Signs
==========
YES
Zero Length String
NO
Test for
occurrence
Within
Boundary
Test for
occurrence
outside
Boundary
3/10
Mon
4/10
Tues
5/10
Wed
6/10
Thurs
4/10
Tues
7/10
Fri
8/10
Sat
9/10
Sun
START: At Start
of Working Day
e.g. 7:30am
FINISH: At End of
Working Day e.g.
5:30pm
3/10
START_Wk BOUNDARY
3/10
END_Wk BOUNDARY
<START> &
<FINISH> Outside
Boundaries
<START> &/or
<FINISH> Within
Boundaries
Test for Non-
Completed Jobs
Note
Alternative Method is to Use Week Number
(at the top of the Gantt Chart) as Criteria.
If Wk_Num of Gannt Chart Cell is <= to START
(of the Activity) AND <= to FINISH (of the Activity};
If TRUE apply ===sign, if FALSE apply Zero Length String.
This method is less complicated than
the Method enumerated above.