summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2019-05-07 23:17:45 +0200
committerEike Rathke <erack@redhat.com>2019-05-08 01:05:51 +0200
commit85c0521f01f5c726e9f754b3175a550121e566c8 (patch)
tree7a61fd57972284c68b7149ce6a57c0e4b1798c66 /offapi
parent8de7949050d63fd9f7ac41e1a2442849580b86fa (diff)
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. Change-Id: I9b0872420699b17e3ed3f20993f8cfe02761f862 Reviewed-on: https://gerrit.libreoffice.org/71909 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/util/NumberFormat.idl7
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;
+
};