LibreOffice Module tools (master) 1
Functions
datetime.cxx File Reference
#include <tools/datetime.hxx>
#include <tools/duration.hxx>
#include <rtl/math.hxx>
#include <sal/log.hxx>
#include <systemdatetime.hxx>
Include dependency graph for datetime.cxx:

Go to the source code of this file.

Functions

DateTime operator+ (const DateTime &rDateTime, sal_Int32 nDays)
 
DateTime operator- (const DateTime &rDateTime, sal_Int32 nDays)
 
DateTime operator+ (const DateTime &rDateTime, const tools::Time &rTime)
 
DateTime operator- (const DateTime &rDateTime, const tools::Time &rTime)
 
DateTime operator+ (const DateTime &rDateTime, const tools::Duration &rDuration)
 
DateTime operator+ (const DateTime &rDateTime, double fTimeInDays)
 
tools::Duration operator- (const DateTime &rDateTime1, const DateTime &rDateTime2)
 

Function Documentation

◆ operator+() [1/4]

DateTime operator+ ( const DateTime rDateTime,
const tools::Duration rDuration 
)

Definition at line 175 of file datetime.cxx.

◆ operator+() [2/4]

DateTime operator+ ( const DateTime rDateTime,
const tools::Time rTime 
)

Definition at line 161 of file datetime.cxx.

◆ operator+() [3/4]

DateTime operator+ ( const DateTime rDateTime,
double  fTimeInDays 
)

Definition at line 190 of file datetime.cxx.

◆ operator+() [4/4]

DateTime operator+ ( const DateTime rDateTime,
sal_Int32  nDays 
)

Definition at line 147 of file datetime.cxx.

◆ operator-() [1/3]

DateTime operator- ( const DateTime rDateTime,
const tools::Time rTime 
)

Definition at line 168 of file datetime.cxx.

◆ operator-() [2/3]

DateTime operator- ( const DateTime rDateTime,
sal_Int32  nDays 
)

Definition at line 154 of file datetime.cxx.

◆ operator-() [3/3]

tools::Duration operator- ( const DateTime rDateTime1,
const DateTime rDateTime2 
)

Definition at line 197 of file datetime.cxx.