Previous Page | Next Page

Using Java CORBA Stubs for IOM Objects

Datetime Values

Java, CORBA, and SAS all use different datetime formats. These formats are shown in the following table.

Datetime Formats
Language Starting Date
Increments
Java January 1, 1970 milliseconds
CORBA October 15, 1582 100s of nanoseconds
SAS January 1, 1960 seconds

The IOM Bridge for Java and the Java CORBA stubs for IOM objects specify datetimes using the CORBA datetime format and a data type of long . To assist with conversions between Java and CORBA datetime formats, use the DateConverter class, as described in the Foundation Services class documentation at http://support.sas.com/92api . Conversions between CORBA and SAS datetime formats are handled automatically by the IOM Bridge for Java.

Previous Page | Next Page | Top of Page