:: 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' 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
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.