LibreOffice Module tools (master) 1
|
Go to the source code of this file.
Functions | |
static void | lcl_AppendTwoDigits (OStringBuffer &rBuffer, sal_Int32 nNum) |
Append the number as 2-digit when less than 10. More... | |
OString | DateTimeToOString (const DateTime &rDateTime) |
OString | DateToOString (const Date &rDate) |
OString | DateToDDMMYYYYOString (const Date &rDate) |
std::ostream & | operator<< (std::ostream &os, const Date &rDate) |
OString DateTimeToOString | ( | const DateTime & | rDateTime | ) |
Definition at line 29 of file datetimeutils.cxx.
References aBuffer, Date::GetDay(), tools::Time::GetHour(), tools::Time::GetMin(), Date::GetMonth(), tools::Time::GetSec(), Date::GetYear(), and lcl_AppendTwoDigits().
Referenced by DateToOString().
OString DateToDDMMYYYYOString | ( | const Date & | rDate | ) |
Definition at line 64 of file datetimeutils.cxx.
References aBuffer, Date::GetDay(), Date::GetMonth(), Date::GetYear(), and lcl_AppendTwoDigits().
OString DateToOString | ( | const Date & | rDate | ) |
Definition at line 58 of file datetimeutils.cxx.
References DateTimeToOString(), and tools::Time::EMPTY.
|
static |
Append the number as 2-digit when less than 10.
Definition at line 15 of file datetimeutils.cxx.
Referenced by DateTimeToOString(), and DateToDDMMYYYYOString().
std::ostream & operator<< | ( | std::ostream & | os, |
const Date & | rDate | ||
) |
Definition at line 78 of file datetimeutils.cxx.
References Date::GetDay(), Date::GetMonth(), and Date::GetYear().