LibreOffice Module tools (master) 1
Functions
tdate.cxx File Reference
#include <tools/date.hxx>
#include <sal/log.hxx>
#include <com/sun/star/util/DateTime.hpp>
#include <systemdatetime.hxx>
#include <comphelper/date.hxx>
Include dependency graph for tdate.cxx:

Go to the source code of this file.

Functions

static Date lcl_DaysToDate (sal_Int32 nDays)
 
Date operator+ (const Date &rDate, sal_Int32 nDays)
 
Date operator- (const Date &rDate, sal_Int32 nDays)
 
sal_Int32 operator- (const Date &rDate1, const Date &rDate2)
 

Function Documentation

◆ lcl_DaysToDate()

static Date lcl_DaysToDate ( sal_Int32  nDays)
static

◆ operator+()

Date operator+ ( const Date rDate,
sal_Int32  nDays 
)

Definition at line 393 of file tdate.cxx.

◆ operator-() [1/2]

Date operator- ( const Date rDate,
sal_Int32  nDays 
)

Definition at line 400 of file tdate.cxx.

◆ operator-() [2/2]

sal_Int32 operator- ( const Date rDate1,
const Date rDate2 
)

Definition at line 407 of file tdate.cxx.