Commit 1c0b86ee authored by nkhan's avatar nkhan

Added by Nasruddin khan


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102576 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f3d1d935
...@@ -751,12 +751,18 @@ private boolean isDulplicateDate(Document dom2, String effDateStr2, String valid ...@@ -751,12 +751,18 @@ private boolean isDulplicateDate(Document dom2, String effDateStr2, String valid
} }
if (!validUpto2.after(validUpto) && !(validUpto2.equals(validUpto))) if (!validUpto2.after(validUpto) && !(validUpto2.equals(validUpto)))
{ {
if(validUpto2.before(effDate)){
isDulplicate = false;
}
else{
isDulplicate = true; isDulplicate = true;
break; break;
} }
}
} }
} }
}catch(Exception e){ }catch(Exception e){
System.out.println("CommissiondetIC.isDulplicateDate() ["+ e); System.out.println("CommissiondetIC.isDulplicateDate() ["+ e);
e.printStackTrace(); e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment