sebbASF commented on PR #408:
URL: 
https://github.com/apache/commons-validator/pull/408#issuecomment-4804651525

   It has just occurred to me - the same issue may occur with WEEK_OF_MONTH.
   AFAICT the first WEEK_OF_MONTH in January could contain one or more days 
from December of the previous year.
   
   Maybe an alternative approach would be to initially compare days since the 
epoch. If the difference between the dates is less than a week, then compare 
WEEK_OF values. If they are the same, then return 0, otherwise return the 
result of the epoch comparison.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to