XUWORKDY ;SF/GJL - WORKDAYS Mon-Fri ;09/04/98 13:29 [ 04/02/2003 8:29 AM ]
Source file <XUWORKDY.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
A | ||
EN(X,X1) | ;Function entry point
|
|
WORKPLUS(XUDAY,XUOFF) | ;Find the date N working day +/- of date D1
|
|
EXIT | ||
WORKDAY(X) | ;This function will determine if the input date is a workday.
|
|
HDTC(X) | ;Taken from H^%DTC
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^HOLIDAY - [#40.5] | A+5, WORKDAY+3 |
Name | Line Occurrences |
---|---|
$$EN | WORKPLUS+7 |
$$HDTC | A+2, A+3 |
A | EN+1 |
EXIT | A+2, A+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%A | A~, A+1*, A+2, A+5 |
%B | A~, A+1*, A+3, A+5 |
%D | A~, HDTC+1*, WORKPLUS+1~, WORKPLUS+4*, WORKPLUS+8 |
%H | A~, A+4*, A+5*, A+9, HDTC+2~*, HDTC+3, HDTC+4 |
%I | A~, A+5*, A+8*, A+9 |
%J | A~, A+2*, A+4, A+6*, A+7, A+8 |
%K | A~, A+3*, A+4, A+6, A+7*, A+8 |
%M | A~, HDTC+1* |
%X | WORKPLUS+1~, WORKPLUS+4*, WORKPLUS+6, WORKPLUS+8* |
%Y | A~, A+5*, A+6*, A+7*, A+8*, HDTC+1*, HDTC+3*, WORKPLUS+1~, WORKPLUS+3*, WORKPLUS+5 , WORKPLUS+7*, WORKPLUS+8 |
%Z | A~, A+1*, A+9, WORKPLUS+1~, WORKPLUS+6*, WORKPLUS+7, WORKPLUS+10 |
X | A+1*, A+2*, A+3*, A+4*, A+6*, A+7*, A+8*, A+9*, HDTC~, HDTC+1 , HDTC+2, EN~, EN+1, WORKDAY~, WORKDAY+3, WORKDAY+4* |
X1 | A+1, EXIT!, EN~ |
XUDAY | WORKPLUS~, WORKPLUS+2, WORKPLUS+6, WORKPLUS+7 |
XUOFF | WORKPLUS~, WORKPLUS+2, WORKPLUS+4*, WORKPLUS+5, WORKPLUS+8 |