diff options
author | Eike Rathke <erack@redhat.com> | 2019-05-07 23:17:45 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-10 22:27:19 +0200 |
commit | f01e31762b02b8b896e726238eb2475c0e01ef82 (patch) | |
tree | b6167edcd0072b9617d3d25e9993209c0779b8fd /offapi | |
parent | 232b467083dd3b55f261bebe084e696bee200ec9 (diff) |
Resolves: tdf#125099 round duration results in interpreter already
This is a combination of 3 commits.
Resolves: tdf#125099 round duration results in interpreter already
So wall clock time formats less likely display a one-off value,
duration formats are too rarely used if the expected duration is
less than 24 hours.
Reviewed-on: https://gerrit.libreoffice.org/71909
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 85c0521f01f5c726e9f754b3175a550121e566c8)
Test RANK(), not the underlying floating point representation of duration
The RANK() results depended on the floating point representation
of time differences (durations), which for visually equal MM:SS
display values don't have to be equal if similar durations result
from different start and end times. Change that to a well defined
duration in seconds.
b69a6b43f48abd2d4fe605021acfd2800e75b5e1
Reviewed-on: https://gerrit.libreoffice.org/71926
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
(cherry picked from commit 8de7949050d63fd9f7ac41e1a2442849580b86fa)
Fix typed flags bitmask, tdf#125099 follow-up
25327cfcafc9e1f2e88b388677853c638dd9b0e6
Reviewed-on: https://gerrit.libreoffice.org/71946
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
(cherry picked from commit d27ad84ec7a0aafb07d6a6152c686f4bc802f661)
Change-Id: I9b0872420699b17e3ed3f20993f8cfe02761f862
Reviewed-on: https://gerrit.libreoffice.org/71935
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/util/NumberFormat.idl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/offapi/com/sun/star/util/NumberFormat.idl b/offapi/com/sun/star/util/NumberFormat.idl index 2bc297aed425..e66a59d7e215 100644 --- a/offapi/com/sun/star/util/NumberFormat.idl +++ b/offapi/com/sun/star/util/NumberFormat.idl @@ -99,6 +99,13 @@ published constants NumberFormat */ const short EMPTY = 4096; + + /** @internal selects a time duration format. + 8192 + TIME (4) + @since LibreOffice 6.2 + */ + const short DURATION = 8196; + }; |