| Summary: | Exception for the date testing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | pf yu <pfyu> | ||||
| Component: | EDT | Assignee: | Paul Harmon <pharmon> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P1 | CC: | jqian, pfyu, svihovec | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
pf yu
Created attachment 204253 [details]
egl file for the date testing
The error occurs on the following line: diff int = date1 - date2; This is being marked as critical because a lot of test cases will use the '-' operator for date and timestamp. This is not allowed in EDT. You will need to use the new daysDifferent() function that is defined for Date for this: diff int = date1.daysDifferent(date2); I am changing validation for this: changes committed to TypeCompatibilityUtil Verified in build 201110110900 |