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