Lines Matching refs:Date
37 bool DateHelper::IsInSameYear( const Date& rD1, const Date& rD2 ) in IsInSameYear()
41 bool DateHelper::IsInSameMonth( const Date& rD1, const Date& rD2 ) in IsInSameMonth()
46 long DateHelper::GetMonthsBetweenDates( Date aD1, Date aD2 ) in GetMonthsBetweenDates()
48 Date aHelp = aD1; in GetMonthsBetweenDates()
61 Date DateHelper::GetDateSomeMonthsAway( const Date& rD, long nMonthDistance ) in GetDateSomeMonthsAway()
63 Date aRet(rD); in GetDateSomeMonthsAway()
78 Date DateHelper::GetDateSomeYearsAway( const Date& rD, long nYearDistance ) in GetDateSomeYearsAway()
80 Date aRet(rD); in GetDateSomeYearsAway()
98 bool DateHelper::IsLessThanOneMonthAway( const Date& rD1, const Date& rD2 ) in IsLessThanOneMonthAway()
100 Date aDMin( DateHelper::GetDateSomeMonthsAway( rD1, -1 ) ); in IsLessThanOneMonthAway()
101 Date aDMax( DateHelper::GetDateSomeMonthsAway( rD1, 1 ) ); in IsLessThanOneMonthAway()
108 bool DateHelper::IsLessThanOneYearAway( const Date& rD1, const Date& rD2 ) in IsLessThanOneYearAway()
110 Date aDMin( DateHelper::GetDateSomeYearsAway( rD1, -1 ) ); in IsLessThanOneYearAway()
111 Date aDMax( DateHelper::GetDateSomeYearsAway( rD1, 1 ) ); in IsLessThanOneYearAway()
118 double DateHelper::RasterizeDateValue( double fValue, const Date& rNullDate, long TimeResolution ) in RasterizeDateValue()
120 Date aDate(rNullDate); aDate += static_cast<long>(::rtl::math::approxFloor(fValue)); in RasterizeDateValue()