Data Types

You should always use "genuine" data types in search conditions or documents, so that EBIS can identify the data type. This takes the task of formatting objects to strings from the developer. If reformatting on the target system is necessary, this will be performed by the plug-in.

Search condition (C#)
DateTime dtFirst = new DateTime(2001,1,1);
DateTime dtLast = new DateTime(2013,12,31);
search.Conditions.AddRange("Date", dtFirst, dtLast);
// Not recommended: search.Conditions.AddRange("Date", "01/01/2001", "12/31/2013");
Document (Java)
// Create document
IDocument doc = session.createDocument(...);
doc.replaceItemValue("Datum",new GregorianCalendar(2001, 2, 2));
// Not recommended: doc.replaceItemValue("Date", "2001/03/02");
doc.replaceItemValue("Measurement", 12.28f);
// Not recommended: doc.replaceItemValue("Measurement", "12.28");