Hi Eike,
I have been studying ODFFv1.2 part 2 §4.11.7.7 with
https://bugs.documentfoundation.org/show_bug.cgi?id=69569#c17 , lines 1..5. in mind.
My conclusions are that
a) Line 8 should be
" 8.Otherwise, if _(not A)_ and is-leap-year(year(date1)) then return 366 ";
b) Lines 9 and 10 can be combined by appending inclusive to both dates, the current line 9 is
ambiguous and line 10 does not fully solve that;
c) The constraint date1 >= date2 is missing in §4.11.7.
I have made logical diagrams to cheack that all possible combinations of date1 and date2 are
covered - on the presumption that date1 >= date2.
If you agree with my conclusions, would it be possible that you submit a proposal for changing ODFF
to reflect the above?
I think that a proposal from you is more effective than one from me ;-)
And if you agree with my conclusions I intend to work on bug tdf69569 to implement the proposed
changes (c is already implemented in /core/scaddins/source.analysis/analysishelper.cxx,
getYearFrac(.)).
Winfried
Context
- tdf#69569 ODFFv1.2 part 2 incorrect · Winfried Donkers
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.