LibreOffice Module chart2 (master) 1
Static Public Member Functions | List of all members
chart::DateHelper Class Reference

#include <DateHelper.hxx>

Static Public Member Functions

static bool IsInSameYear (const Date &rD1, const Date &rD2)
 
static bool IsInSameMonth (const Date &rD1, const Date &rD2)
 
static Date GetDateSomeMonthsAway (const Date &rD, sal_Int32 nMonthDistance)
 
static Date GetDateSomeYearsAway (const Date &rD, sal_Int32 nYearDistance)
 
static bool IsLessThanOneMonthAway (const Date &rD1, const Date &rD2)
 
static bool IsLessThanOneYearAway (const Date &rD1, const Date &rD2)
 
static double RasterizeDateValue (double fValue, const Date &rNullDate, tools::Long TimeResolution)
 

Detailed Description

Definition at line 27 of file DateHelper.hxx.

Member Function Documentation

◆ GetDateSomeMonthsAway()

Date chart::DateHelper::GetDateSomeMonthsAway ( const Date rD,
sal_Int32  nMonthDistance 
)
static

◆ GetDateSomeYearsAway()

Date chart::DateHelper::GetDateSomeYearsAway ( const Date rD,
sal_Int32  nYearDistance 
)
static

◆ IsInSameMonth()

bool chart::DateHelper::IsInSameMonth ( const Date rD1,
const Date rD2 
)
static

◆ IsInSameYear()

bool chart::DateHelper::IsInSameYear ( const Date rD1,
const Date rD2 
)
static

Definition at line 28 of file DateHelper.cxx.

References Date::GetYear().

Referenced by chart::VSeriesPlotter::calculateTimeResolutionOnXAxis().

◆ IsLessThanOneMonthAway()

bool chart::DateHelper::IsLessThanOneMonthAway ( const Date rD1,
const Date rD2 
)
static

◆ IsLessThanOneYearAway()

bool chart::DateHelper::IsLessThanOneYearAway ( const Date rD1,
const Date rD2 
)
static

◆ RasterizeDateValue()

double chart::DateHelper::RasterizeDateValue ( double  fValue,
const Date rNullDate,
tools::Long  TimeResolution 
)
static

The documentation for this class was generated from the following files: