Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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 Software Foundation

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

Apache, OpenOffice, OpenOffice.org 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.