LibreOffice
LibreOffice 5.1 SDK API Reference
Public Attributes | List of all members
Duration Struct Reference

represents a duration. More...

import"Duration.idl";

Public Attributes

boolean Negative
 explicit sign bit. More...
 
unsigned short Years
 contains the years. More...
 
unsigned short Months
 contains the months. More...
 
unsigned short Days
 contains the days. More...
 
unsigned short Hours
 contains the hours. More...
 
unsigned short Minutes
 contains the minutes. More...
 
unsigned short Seconds
 contains the seconds. More...
 
unsigned long NanoSeconds
 contains the nanoseconds. More...
 

Detailed 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

Member Data Documentation

unsigned short Days

contains the days.

unsigned short Hours

contains the hours.

unsigned short Minutes

contains the minutes.

unsigned short Months

contains the months.

unsigned long NanoSeconds

contains the nanoseconds.

boolean Negative

explicit sign bit.

unsigned short Seconds

contains the seconds.

unsigned short Years

contains the years.


The documentation for this struct was generated from the following file: