(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: util ::

unpublished struct Duration
Usage Restrictions
not published
Description
represents a duration.

A duration is the difference of 2 DateTimes.

Note that there are no constraints on the ranges of the members, except that every member must be non-negative: for example, a Duration of 400 Days is valid.

Since
OOo 3.3

Elements' Summary
Negative explicit sign bit.  
Years contains the years.  
Months contains the months.  
Days contains the days.  
Hours contains the hours.  
Minutes contains the minutes.  
Seconds contains the seconds.  
MilliSeconds contains the milliseconds.  
Elements' Details
Negative
boolean Negative;
Description
explicit sign bit.
Years
unsigned short Years;
Description
contains the years.
Months
unsigned short Months;
Description
contains the months.
Days
unsigned short Days;
Description
contains the days.
Hours
unsigned short Hours;
Description
contains the hours.
Minutes
unsigned short Minutes;
Description
contains the minutes.
Seconds
unsigned short Seconds;
Description
contains the seconds.
MilliSeconds
unsigned short MilliSeconds;
Description
contains the milliseconds.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.