#include <sal/config.h>
#include <sal/types.h>
#include <comphelper/comphelperdllapi.h>
#include <cassert>
Go to the source code of this file.
|
constexpr sal_Int32 | comphelper::date::YearToDays (sal_Int16 nYear) |
| Days until start of year from zero, so month and day of month can be added. More...
|
|
constexpr bool | comphelper::date::isLeapYear (sal_Int16 nYear) |
| Whether year is a leap year. More...
|
|
constexpr sal_uInt16 | comphelper::date::getDaysInMonth (sal_uInt16 nMonth, sal_Int16 nYear) |
| Get number of days in month of year. More...
|
|
constexpr sal_Int32 | comphelper::date::convertDateToDays (sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear) |
| Obtain days from zero for a given date, without normalizing. More...
|
|
sal_Int32 | comphelper::date::convertDateToDaysNormalizing (sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear) |
| Obtain days from zero for a given date, with normalizing. More...
|
|
bool | comphelper::date::isValidDate (sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear) |
| Whether date is a valid date. More...
|
|
void | comphelper::date::convertDaysToDate (sal_Int32 nDays, sal_uInt16 &rDay, sal_uInt16 &rMonth, sal_Int16 &rYear) |
| Obtain date for a days from zero value. More...
|
|
bool | comphelper::date::normalize (sal_uInt16 &rDay, sal_uInt16 &rMonth, sal_Int16 &rYear) |
| Normalize date, i.e. More...
|
|