Re: SDO Date format

2008-03-31 Thread Frank Budinsky
Adriano, All these formats are only allowed for convenience of entry. When a date is serialized it is converted to the canonical format. Take a look at class ModelFactoryImpl: public String convertDateToString(Object instanceValue) { if (instanceValue == null) { return null;

Re: SDO Date format

2008-03-30 Thread Adriano Crestani
I have some doubts about if it's acceptable or not, because the Java SDO specs defines the following format: -MM-dd'T'HH:mm:ss'.'SSS'Z' . But when I look at the testcases, it test many date strings that are not exactly in this format: // Ensure that strings that should be recognized by

Re: SDO Date format

2008-03-30 Thread Adriano Crestani
Surfing on net I found this: Time zones ... More recent (post 1.5.0) versions of openadaptor use Java TimeZone objects, so the string must be understood by that class (either GMT±hh:mm Europe/London - note that three letter abbreviations such as CST are frowned upon, as there are no standards

SDO Date format

2008-03-29 Thread Adriano Crestani
Hi, What is the time zone format used in datetime SDO string? Only the time zone abbreviation, like for example: PST, or it also accepts GTM, like for example: GMT -04:00? Thanks in advance, Adriano Crestani