Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ShipDateCalculated- Date
- CorpAcctName -String
- ShipDate - Date
- row1.ShipDateCalculated==null?
- ("ABC".equalsIgnoreCase(row1.CorpAcctName) || "BCD".equalsIgnoreCase(row1.CorpAcctName)||"CDE".equalsIgnoreCase(row1.CorpAcctName))?
- TalendDate.getPartOfDate("DAY_OF_WEEK",row1.ShipDate) ==1?
- TalendDate.addDate(TalendDate.formatDate("MM/dd/yyyy", row1.ShipDate ),"MM/dd/yyyy",-3,"dd"):
- TalendDate.getPartOfDate("DAY_OF_WEEK",row1.ShipDate) ==2?
- TalendDate.addDate(TalendDate.formatDate("MM/dd/yyyy", row1.ShipDate ),"MM/dd/yyyy",-3,"dd"):
- TalendDate.addDate(TalendDate.formatDate("MM/dd/yyyy", row1.ShipDate ),"MM/dd/yyyy",-2,"dd"):
- TalendDate.getPartOfDate("DAY_OF_WEEK",row1.ShipDate) ==1?
- TalendDate.addDate(TalendDate.formatDate("MM/dd/yyyy", row1.ShipDate ),"MM/dd/yyyy",-2,"dd"):
- TalendDate.addDate(TalendDate.formatDate("MM/dd/yyyy", row1.ShipDate ),"MM/dd/yyyy",-1,"dd"):
- ""
- Exception in thread "main" java.lang.Error: Unresolved compilation problem:
- The method equalsIgnoreCase(String) in the type String is not applicable for the arguments (Date)
- TalendDate.parseDate("MM/dd/yyyy",("ABC".equalsIgnoreCase(row1.CorpAcctName) || "BCD".equalsIgnoreCase(row1.CorpAcctName)||"CDE".equalsIgnoreCase(row1.CorpAcctName)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement