https://bz.apache.org/bugzilla/show_bug.cgi?id=59100

gopalkum...@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from gopalkum...@yahoo.com ---
I tried checking the date like below, but seems that sent date is not present 

<p>
Set<Map.Entry<MAPIProperty,List<PropertyValue>>> entry =
message.getMainChunks().getProperties().entrySet();
for (Entry<MAPIProperty, List<PropertyValue>> en : entry) {
    String mapiProp = en.getKey().mapiProperty;
    if (mapiProp != null && mapiProp.contains("PR_CLIENT_SUBMIT_TIME")) {
        PropertyValue value = en.getValue().get(0); // 
        Object obj = value.getValue();
        Date date = ((GregorianCalendar)obj).getTime();
        result.put(bean.getDctmAttribute(), new DfTime(date));
        break;
    }
}
</P>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to