TR
#

Date
Attribute

Lower
Bound

Upper
Bound

Requirement
Logic

1

month

1

12

must be numeric

2

year

1940

2500

must be numeric

3

day

1

31

If month=1

4

day

1

28

If month=2 and year not divisible by 4

5

day

1

29

If month=2 and year divisible by 400

6

day

1

28

If month=2 and year divisible by 100 but not divisible by 400

7

day

1

29

If month=2 and year divisible by 4 but not divisible by 100 or 400

8

day

1

31

If month=3

9

day

1

30

If month=4

10

day

1

31

If month=5

11

day

1

30

If month=6

12

day

1

31

If month=7

13

day

1

31

If month=8

14

day

1

30

If month=9

15

day

1

31

If month=10

16

day

1

30

If month=11

17

day

1

31

If month=12

TR
#

Requirement
Action

Requirement
Logic

18

Return valid return code

If valid date

19

Return invalid return code

If invalid date
