I've provided the requested file, would you mind letting me know if you've looked at this or when you might look at it? Thanks, Jon.
Please find attached an example file with several instances of enterprise extended atributes. My understanding is that you will need Project Professional to open/view these fields as we are.
I'm still attempting to get a scrubbed sample file. After some searching through the saved-as-XML file, I'm seeing: <enterpriseextendedattribute> <fieldidinhex>b408005</fieldidinhex> <fieldid>188776453</fieldid> <value>TEST</value> <valueguid>TEST</valueguid> </enterpriseextendedattribute> I notice that https://sourceforge.net/p/mpxj/bugs/297/ addressed extended attributes, are these 'EnterpriseExtendedAttribute' properties being parsed at all?
Enterprise Fields Unreadable
For negative duration calculations, I found Calendar.getStartDate, which will do just fine. One simply has to multiply the duration by -1. Calendar.getStartDate makes the assumption that if 7 days in a row are non-working, that the calendar is defunct. However, there can be 7+ day non-working day periods (think long Christmas breaks). For me, I changed the 7 day check to 365 days, not sure if you want the modification, but I'll include it. Think that wraps it up. Excuse my ignorance.
For negative duration calculations, I found Calendar.getStartDate, which will do just fine. Calendar.getStartDate makes the assumption that if 7 days in a row are non-working, that the calendar is defunct. However, there can be 7+ day non-working day periods (think long Christmas breaks). For me, I changed the 7 day check to 365 days, not sure if you want the modification, but I'll include it. Think that wraps it up. Excuse my ignorance.
To clarify, I'm getting negative lags (leads) and cannot get the correct date from a given date and negative duration. The positive duration lags are calculating fine.
Calendar getDate With Negative Duration