summaryrefslogtreecommitdiff
path: root/tools/source/datetime
AgeCommit message (Expand)Author
2023-08-03Resolves: tdf#127334 Increase tools::Duration accuracy epsilon unsharpnessEike Rathke
2023-06-27Fix typoAndrea Gelmini
2023-06-23Introduce tools::Duration individual time values ctorEike Rathke
2023-06-23Clamp and assert maximum hours value in Time::init()Eike Rathke
2023-06-22Introduce tools::Duration(sal_Int32 nDays, const Time& rTime) ctorEike Rathke
2023-06-21Change DateTime friend operator-() to return tools::Duration instead of doubleEike Rathke
2023-06-21rbOverflow was already set for bBadNS, unnecessary to set it againEike Rathke
2023-06-21Introduce double DateTime::Sub() as a substitute for friend double operator-()Eike Rathke
2023-06-20Use tools::Duration in friend double operator-() if DateTime has Time setEike Rathke
2023-06-19Fix TB Jenkins_Linux_Ubsan (duration.cxx)Julien Nabet
2023-06-17Fix typoAndrea Gelmini
2023-06-17Related: tdf#153517 Introduce class tools::DurationEike Rathke
2023-05-28Factor out DateTime::NormalizeTimeRemainderAndApply(tools::Time& rTime)Eike Rathke
2023-05-19Eliminate 24h loops in DateTime::operator+=/-=(tools::Time&)Eike Rathke
2022-11-22Calculate null-date days to assert only onceEike Rathke
2022-11-22Avoid second null-date check of convertDateToDaysNormalizing()Eike Rathke
2022-11-22Related: tdf#152114 Move some tools' Date class algorithms to comphelper::dateEike Rathke
2022-08-16cid#1509285 Use of 32-bit time_tCaolán McNamara
2021-12-06tdf#128715 fix tools::Time::GetMonotonicTicks() on 32-bit linuxUrja Rannikko
2021-07-06actually use CLOCK_MONOTONIC in tools::timeNoel Grandin
2021-03-25tdf#58745 - Detect end of month when extending a date listAndreas Heinisch
2020-11-16replace std::max(std::min()) with std::clampNoel
2020-10-04loplugin:reducevarscope in toolkit..unotoolsNoel
2020-07-02Upcoming improved loplugin:staticanonymous -> redundantstatic: toolsStephan Bergmann
2020-01-22 don't warn about 0/0/0 year, commonly used as a default-value/no-valueNoel Grandin
2019-09-01Fix '..'Andrea Gelmini
2019-08-12Fix typosAndrea Gelmini
2019-04-30tdf#42949 Fix IWYU warnings in tools/Gabor Kelemen
2019-02-21loplugin:indentation (macOS)Stephan Bergmann
2019-02-11loplugin:indentation in lingucomponent..toolsNoel Grandin
2018-11-29Rename Mac OS X to official name macOS in comments and documentationBartosz Kosiorek
2018-10-18clang-tidy readability-simplify-boolean-exprNoel Grandin
2018-10-17tdf#42949 Fix IWYU warnings in include/tools/*Gabor Kelemen
2018-10-12Fix typosAndrea Gelmini
2018-10-09Extend loplugin:redundantinline to catch inline functions w/o external linkageStephan Bergmann
2018-09-03Missing includeStephan Bergmann
2018-08-31Do as the comment says it should do..Eike Rathke
2018-08-31The never ending rounding and scaling of tools::Time::GetClock()Eike Rathke
2018-08-29Round fraction if possible, else truncate; tools::Time::GetClock()Eike Rathke
2018-08-28Assign fFractionOfSecond in shortcutEike Rathke
2018-08-28Move lcl_getHourMinuteSecond() to tools::Time::GetClock()Eike Rathke
2018-08-02Add missing sal/log.hxx headersGabor Kelemen
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): toolsStephan Bergmann
2018-05-09there are 3600000 seconds in an hourCaolán McNamara
2018-05-07tools: date unit testsChris Sherlock
2018-05-04tools: Avoid looking up system clock twice to get DateTimeTakeshi Abe
2018-01-23More loplugin:cstylecast on WindowsStephan Bergmann
2018-01-20More loplugin:cstylecast on macOSStephan Bergmann
2018-01-20loplugin:unused-returns in filter,tools,xmloffNoel Grandin
2018-01-12More loplugin:cstylecast: toolsStephan Bergmann