Trunk-4444 Validate order overlap with scheduled date

Comments:
In Order.java:
          - getCalculatedStartDate and getCalculatedEndDate are kept public for future use.
          - Can rename getCalculatedEndDate and getCalculatedStartDate with better names (if any).
I think you need to get rid of the braces because i doubt if the test generator will like it, did it generate the test methods?