Set a Java date Object from a Notes DateTime Object
问题 Manipulating Dates causing me some issues. I've created some Java code that reads a document from a Notes DB then populates some fields in a Java Object with values from the Notes Document. The Notes Document contains a DataTime field "ExpPayDate" and I want to store it in the Java Object, but get a syntax error in the Java Editor. My code looks like this: for (int n = 1 ; n < col.getCount(); n++){ Document pDoc = col.getNthDocument(n); PaymentItem pItem = new PaymentItem(); Date pDate = pDoc