The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15



Tips ‘n’ Tricks


:: com :: sun :: star :: bridge :: oleautomation ::

unpublished struct Date
Usage Restrictions
not published
is the UNO representation of the Automation type DATE.

A DATE could actually be representd asdouble in UNO and therefore a typedef from double to a date type would do. But a typedef cannot be expressed in all language bindings. In the case where no typedefs are supported the actual type is used. That is, a typedef'd date type would be represented as double in Java. The information that the double is a date type is lost.

When calling Automation objects from UNO the distinction between double and date type is important. Therefore Date is declared as struct.

OOo 1.1.2

Elements' Summary
Value corresponds to the Automation type DATE.  
Elements' Details
double Value;
corresponds to the Automation type DATE.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.